> ## 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.

# Start a deployment

> Launches a deployment that holds no GPU: a new attempt, and a new episode. It never
resumes the episode that ran before. A deployment that is already running is answered
as it is.




## OpenAPI

````yaml /api-reference/openapi.yaml post /v1/deployments/{deployment_id}/start
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/deployments/{deployment_id}/start:
    post:
      tags:
        - Deployments
      summary: Start a deployment
      description: >
        Launches a deployment that holds no GPU: a new attempt, and a new
        episode. It never

        resumes the episode that ran before. A deployment that is already
        running is answered

        as it is.
      operationId: startDeployment
      parameters:
        - $ref: '#/components/parameters/AbstractVersion'
        - $ref: '#/components/parameters/DeploymentId'
      responses:
        '200':
          description: The deployment, on its new attempt.
          headers:
            Request-Id:
              $ref: '#/components/headers/RequestId'
            Abstract-Version:
              $ref: '#/components/headers/AbstractVersion'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Deployment'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '404':
          $ref: '#/components/responses/DeploymentNotFound'
        '429':
          description: >-
            `deployment_limit`: 4 deployments already hold a GPU.
            `idle_budget_spent`: the account's idle budget for the model is
            spent for the UTC day.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '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'
    DeploymentId:
      name: deployment_id
      in: path
      required: true
      description: The deployment's id, such as `pi05-yam-a3f2`.
      schema:
        type: string
  headers:
    RequestId:
      description: >-
        `req_` and 32 hex characters, new for each HTTP attempt, a retry
        included. An error repeats it as `error.request_id`. Quote it when you
        report a problem.
      schema:
        type: string
        pattern: ^req_[0-9a-f]{32}$
    AbstractVersion:
      description: >-
        The API version this answer was made under: the `Abstract-Version` the
        request sent, or the newest version when it sent none.
      schema:
        type: string
  schemas:
    Deployment:
      type: object
      required:
        - id
        - object
        - model
        - state
        - idle_timeout
        - attempt
      properties:
        id:
          type: string
          description: Unique inside your account. It names no account.
        object:
          type: string
          const: deployment
        model:
          type: string
        checkpoint_uri:
          type:
            - string
            - 'null'
          description: >-
            Your own checkpoint it serves on the model's lane. `null` when it
            serves the model's own weights.
        checkpoint_options:
          oneOf:
            - $ref: '#/components/schemas/CheckpointOptions'
            - type: 'null'
        robot:
          type:
            - string
            - 'null'
        state:
          $ref: '#/components/schemas/DeploymentState'
        reason:
          $ref: '#/components/schemas/DeploymentReason'
        idle_timeout:
          type: string
          description: Such as `30m`, or `never`.
        idle_timeout_s:
          type:
            - integer
            - 'null'
        attempt:
          type: integer
          description: The attempt the deployment is on, counted from 1.
        checkpoint:
          type:
            - string
            - 'null'
          description: The weights the current attempt runs, when the engine names them.
        created_at:
          type: integer
        updated_at:
          type: integer
        ready_at:
          type:
            - integer
            - 'null'
        last_chunk_at:
          type:
            - integer
            - 'null'
        idle_at:
          type:
            - integer
            - 'null'
          description: >-
            Unix seconds at which the GPU is released if no chunk runs before
            then.
      example:
        id: pi05-yam-a3f2
        object: deployment
        model: physical-intelligence/pi0.5
        checkpoint_uri: null
        checkpoint_options: null
        robot: yam
        state: ready
        reason: null
        idle_timeout: 30m
        idle_timeout_s: 1800
        attempt: 1
        checkpoint: null
        created_at: 1794830400
        updated_at: 1794830441
        ready_at: 1794830441
        last_chunk_at: null
        idle_at: 1794832241
    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.
    CheckpointOptions:
      type: object
      additionalProperties: false
      description: >-
        What a checkpoint needs said about it. An option its pipeline does not
        read is a problem, `invalid_option`.
      properties:
        norm_tag:
          type: string
          description: >-
            MolmoAct2 only. The tag in the checkpoint's `norm_stats.json` it was
            trained under. Required when the file holds more than one.
        policy_config:
          type: string
          description: >-
            The upstream policy config an openpi checkpoint was trained under.
            openpi checkpoints are not served.
    DeploymentState:
      type: string
      enum:
        - created
        - launching
        - ready
        - busy
        - idle
        - stopped
        - failed
      description: '`idle`, `stopped` and `failed` hold no GPU.'
    DeploymentReason:
      type:
        - string
        - 'null'
      enum:
        - capacity
        - unreachable
        - idle_timeout
        - user
        - model_error
        - null
      description: >
        Why an attempt ended. `capacity`: no GPU could be had when it launched.
        `unreachable`:

        it held a GPU and lost it. `idle_timeout`: it ran no chunk for its idle
        timeout, or the

        day's idle budget was spent. `user`: you stopped it, swapped its model
        or deleted it.

        `model_error`: the engine could not serve the model.
  responses:
    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'
    DeploymentNotFound:
      description: '`deployment_not_found`: no deployment has this id in your account.'
      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'
  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.