Instance Batch API

The Batch API from Instance — 2 operation(s) for batch.

Operations 2

POST /v1/batch V1 Batch Start #
GET /v1/batch/{batch_id} V1 Batch Status #

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/instance-batch-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

instance-batch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Robot rollout verifier Archive Batch API
  version: 0.1.0
servers:
- url: https://demo.instancelabs.ai
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Batch
paths:
  /v1/batch:
    post:
      summary: V1 Batch Start
      description: 'Submit a batch of videos for ASYNCHRONOUS verification (finetune/h1

        only — Opus is a per-clip call via /v1/verify).


        `mode="single"`: one attempt per video. `mode="multi"`: each video may

        hold several sequential attempts of the same task, auto-segmented into

        per-attempt rollouts. Large files can be sent via the chunked-upload flow

        (/api/upload/begin + /chunk) and passed as `tokens` (a JSON array of

        upload ids) instead of `files`.


        Returns a `batch_id`; poll GET /v1/batch/{id} until status is `done`.'
      operationId: v1_batch_start_v1_batch_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_v1_batch_start_v1_batch_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchStart'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Batch
  /v1/batch/{batch_id}:
    get:
      summary: V1 Batch Status
      description: 'Poll a batch. Returns `status` (`running`/`done`/`error`), progress

        (`done`/`total`), and `results` — the finished items so far in the clean

        per-video shape. Results are small (no frames), so the full list is

        returned every poll; a result appears once its video finishes verifying.'
      operationId: v1_batch_status_v1_batch__batch_id__get
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Batch
components:
  schemas:
    Body_v1_batch_start_v1_batch_post:
      properties:
        task:
          type: string
          title: Task
        mode:
          type: string
          title: Mode
          default: single
        files:
          anyOf:
          - items:
              type: string
              contentMediaType: application/octet-stream
            type: array
          - type: 'null'
          title: Files
        tokens:
          type: string
          title: Tokens
        frames:
          type: integer
          title: Frames
          default: 8
      type: object
      required:
      - task
      title: Body_v1_batch_start_v1_batch_post
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BatchStart:
      properties:
        batch_id:
          type: string
          title: Batch Id
        total:
          type: integer
          title: Total
        status:
          type: string
          title: Status
      type: object
      required:
      - batch_id
      - total
      - status
      title: BatchStart