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

# Delete a deployment

> Releases the deployment's GPU if it holds one, and deletes it and its history. Chunks that
ran before are billed as usual.




## OpenAPI

````yaml /api-reference/openapi.yaml delete /v1/deployments/{deployment_id}
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}:
    delete:
      tags:
        - Deployments
      summary: Delete a deployment
      description: >
        Releases the deployment's GPU if it holds one, and deletes it and its
        history. Chunks that

        ran before are billed as usual.
      operationId: deleteDeployment
      parameters:
        - $ref: '#/components/parameters/AbstractVersion'
        - $ref: '#/components/parameters/DeploymentId'
      responses:
        '200':
          description: The deployment is deleted.
          headers:
            Request-Id:
              $ref: '#/components/headers/RequestId'
            Abstract-Version:
              $ref: '#/components/headers/AbstractVersion'
          content:
            application/json:
              schema:
                type: object
                required:
                  - id
                  - deleted
                properties:
                  id:
                    type: string
                  object:
                    type: string
                    const: deployment
                  deleted:
                    type: boolean
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/DeploymentNotFound'
        '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
  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
    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'
  schemas:
    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.