Scale AI Sync Tasks API

The Sync Tasks API from Scale AI — 1 operation(s) for sync tasks.

Business capability
Model Inference AE-110.10

Operations 1

POST /v1/sync-tasks Create Sync Inference Task #

Documentation

Specifications

SDKs

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-response-object-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-spans-export-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-response-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-spans-by-span-metrics-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-spans-metrics-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-egp-api-backend-server-api-apps-public-routers-inference-inference-model-models-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-egp-api-backend-server-utils-model-schemas-completions-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-completion-request-v2-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-execute-agent-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-legacy-evaluation-response-with-views-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-agent-run-schedule-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-register-agent-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-update-agent-run-schedule-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-agent-run-schedule-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-span-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-span-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-research-job-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-job-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-data-source-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-parse-result-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-file-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-sgpvector-store-create-request-base-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-chat-completion-v2-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-completion-v2-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-model-endpoint-v1-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-update-model-endpoint-v1-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-batch-completions-v2-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-batch-completions-v1-request-schema.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scale-ai:scale-ai-sync-tasks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scale-ai-sync-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: launch Sync Tasks API
  version: 1.0.0
tags:
- name: Sync Tasks
paths:
  /v1/sync-tasks:
    post:
      summary: Create Sync Inference Task
      description: Runs a sync inference prediction.
      operationId: create_sync_inference_task_v1_sync_tasks_post
      security:
      - HTTPBasic: []
      - OAuth2PasswordBearer: []
      parameters:
      - name: model_endpoint_id
        in: query
        required: true
        schema:
          type: string
          title: Model Endpoint Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SyncEndpointPredictV1Request'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SyncEndpointPredictV1Response'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Sync Tasks
components:
  schemas:
    SyncEndpointPredictV1Request:
      properties:
        url:
          anyOf:
          - type: string
          - type: 'null'
          title: Url
        args:
          anyOf:
          - $ref: '#/components/schemas/RequestSchema'
          - type: 'null'
        cloudpickle:
          anyOf:
          - type: string
          - type: 'null'
          title: Cloudpickle
        callback_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Callback Url
        callback_auth:
          anyOf:
          - $ref: '#/components/schemas/CallbackAuth'
          - type: 'null'
        return_pickled:
          type: boolean
          title: Return Pickled
          default: false
        destination_path:
          anyOf:
          - type: string
          - type: 'null'
          title: Destination Path
        timeout_seconds:
          anyOf:
          - type: number
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Timeout Seconds
        num_retries:
          anyOf:
          - type: integer
            minimum: 0.0
          - type: 'null'
          title: Num Retries
      type: object
      title: SyncEndpointPredictV1Request
    RequestSchema:
      title: RequestSchema
    TaskStatus:
      type: string
      enum:
      - PENDING
      - STARTED
      - SUCCESS
      - FAILURE
      - TIMEOUT
      - UNDEFINED
      title: TaskStatus
    CallbackAuth:
      oneOf:
      - $ref: '#/components/schemas/CallbackBasicAuth'
      - $ref: '#/components/schemas/CallbackmTLSAuth'
      title: CallbackAuth
      discriminator:
        propertyName: kind
        mapping:
          basic: '#/components/schemas/CallbackBasicAuth'
          mtls: '#/components/schemas/CallbackmTLSAuth'
    CallbackBasicAuth:
      properties:
        kind:
          type: string
          const: basic
          title: Kind
        username:
          type: string
          title: Username
        password:
          type: string
          title: Password
      type: object
      required:
      - kind
      - username
      - password
      title: CallbackBasicAuth
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CallbackmTLSAuth:
      properties:
        kind:
          type: string
          const: mtls
          title: Kind
        cert:
          type: string
          title: Cert
        key:
          type: string
          title: Key
      type: object
      required:
      - kind
      - cert
      - key
      title: CallbackmTLSAuth
    SyncEndpointPredictV1Response:
      properties:
        status:
          $ref: '#/components/schemas/TaskStatus'
        result:
          anyOf:
          - {}
          - type: 'null'
          title: Result
        traceback:
          anyOf:
          - type: string
          - type: 'null'
          title: Traceback
        status_code:
          anyOf:
          - type: integer
          - type: 'null'
          title: Status Code
      type: object
      required:
      - status
      title: SyncEndpointPredictV1Response
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: token