> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abstract.inc/llms.txt
> Use this file to discover all available pages before exploring further.

# Wait for a model

> Starts a model's engine if it is idle and says whether it is ready. Ask until `state`
is `ready`, waiting `retry_after_s` between asks. The account must be able to pay for a
chunk; nothing is billed.




## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/ready
openapi: 3.1.0
info:
  title: Abstract API
  version: 1.0.0
  summary: Robot action models and LLMs behind one API key.
  description: >
    `POST /v1/chat/completions` serves the LLM models. `GET
    /v1/chat/completions/{completion_id}`

    reads an LLM completion your account created. `POST /v1/get_action` and
    `POST /v1/end_session`

    serve the robot action models in Dream Labs' request shape. `GET /v1/models`
    lists the LLM model ids.

    `/v1/deployments` creates, reads, starts, stops, re-points and deletes your
    deployments.

    `POST /v1/models/inspect` says whether a checkpoint on the Hugging Face Hub
    can be deployed.
  contact:
    name: Abstract
    url: https://abstract.inc
servers:
  - url: https://api.abstract.inc
security:
  - bearerAuth: []
tags:
  - name: Chat completions
  - name: Robot actions
    description: End-effector and model-specific native joint action contracts.
  - name: Deployments
    description: >-
      Your own copy of a robot model, held for your robot. See
      [Deployments](/robots/deployments).
  - name: Catalog
  - name: Connected apps
  - name: CLI credentials
paths:
  /v1/ready:
    get:
      tags:
        - Robot actions
      summary: Wait for a model
      description: >
        Starts a model's engine if it is idle and says whether it is ready. Ask
        until `state`

        is `ready`, waiting `retry_after_s` between asks. The account must be
        able to pay for a

        chunk; nothing is billed.
      operationId: modelReady
      parameters:
        - $ref: '#/components/parameters/AbstractVersion'
        - name: model
          in: query
          required: true
          schema:
            type: string
          example: perceptron/isaac-0.5
      responses:
        '200':
          description: The engine's state.
          content:
            application/json:
              schema:
                type: object
                required:
                  - model
                  - state
                properties:
                  model:
                    type: string
                  state:
                    type: string
                    enum:
                      - ready
                      - starting
                  phase:
                    type:
                      - string
                      - 'null'
                    enum:
                      - weights
                      - warmup
                      - null
                  starting_s:
                    type:
                      - number
                      - 'null'
                  retry_after_s:
                    type: number
        '400':
          $ref: '#/components/responses/ActionRefusal'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '502':
          $ref: '#/components/responses/Unavailable'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    AbstractVersion:
      name: Abstract-Version
      in: header
      required: false
      description: >-
        The API version your client was written for. `2026-11-17` is the newest
        version; `2026-10-27` and `2026-11-16` are still answered on every route
        except `POST /v1/get_action`, which refuses them with `400
        unsupported_api_version` (`minimum_version: 2026-11-17`): its request is
        `application/vnd.abstract.chunk` only. The deployment routes are
        answered under any of the three. Without this header the request is
        answered under the newest version; a version the API does not answer is
        refused with `400 unsupported_api_version` before anything runs.
      schema:
        type: string
        enum:
          - '2026-10-27'
          - '2026-11-16'
          - '2026-11-17'
  responses:
    ActionRefusal:
      description: >-
        A robot action refusal. It keeps the HTTP status and answers a `status`
        object; `code` is an error code from the Errors page.
      content:
        application/json:
          schema:
            type: object
            required:
              - status
            properties:
              status:
                $ref: '#/components/schemas/ActionStatus'
          example:
            status:
              code: model_overloaded
              reason: The runtime admission is full.
              retryable: true
              retry_after_s: 1
    Unauthorized:
      description: '`missing_api_key` or `invalid_api_key`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              message: Invalid API key.
              type: invalid_request_error
              code: invalid_api_key
    PaymentRequired:
      description: >-
        `payment_required`: the account has no payment method and no credit, or
        it asked to create, start or update a deployment with sign-up credit
        alone. `insufficient_credit`: the account has no payment method and its
        credit cannot cover the inference reservation. `invoice_past_due`: the
        saved card was declined for a usage invoice; new usage waits until it is
        paid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unavailable:
      description: >-
        A dependency is down, for example `auth_unavailable`,
        `billing_unavailable`, `metering_unavailable` or `engine_unavailable`.
        Retry with backoff.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ActionStatus:
      type: object
      required:
        - code
        - reason
        - retryable
        - retry_after_s
      properties:
        code:
          type: string
          description: '`ok`, or an error code from the Errors page.'
        reason:
          type:
            - string
            - 'null'
        retryable:
          type: boolean
          description: The API's retry advice. Terminal refusals are not retryable.
        retry_after_s:
          type:
            - number
            - 'null'
          description: The `Retry-After` header, when there is one.
        param:
          type: string
          description: The offending request field, when known.
        name:
          type: string
          description: Uppercase status name.
        detail:
          type: string
          description: Human-readable refusal detail.
        trace_id:
          type: string
          pattern: ^[a-f0-9]{32}$
          description: >-
            Logical reply trace. Retained on a replay and mirrored in
            X-Trace-Id. The request-id header is unique to each HTTP attempt.
        request_id:
          type: string
          pattern: ^req_[0-9a-f]{32}$
          description: On a refusal, this answer's `Request-Id` header.
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - type
            - code
            - retryable
            - retry_after_s
            - request_id
          properties:
            message:
              type: string
              description: For people. It can change.
            type:
              type: string
            param:
              type:
                - string
                - 'null'
              description: The request field at fault, when one is.
            code:
              type: string
              description: Branch on this. See [Errors and limits](/errors).
            retryable:
              type: boolean
              description: >-
                Whether this same request may be sent again. When the route
                gives no answer of its own, `true` for 408, 429 and 503.
            retry_after_s:
              type:
                - number
                - 'null'
              description: The `Retry-After` header in seconds, or `null`.
            request_id:
              type: string
              pattern: ^req_[0-9a-f]{32}$
              description: >-
                This answer's `Request-Id` header. Quote it when you report a
                problem.
            cameras:
              type: array
              items:
                type: string
              description: >-
                With `keyframe_required`: the cameras whose streams must begin
                at a keyframe, by the names of their streams in the request.
            accepts:
              type: array
              items:
                type: string
              description: 'With `unsupported_media_type`: the media types the route takes.'
            minimum_version:
              type: string
              description: >-
                With `unsupported_api_version` on `POST /v1/get_action`: the
                oldest version the route answers.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your Abstract API key. Get it with `abstract login`, pass it as
        `$(abstract token)`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.