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

# Get operation

> Poll for the status of an asynchronous Compute operation. Terminal statuses: `succeeded`, `failed`, `cancelled`. Non-terminal: `pending`, `dispatched`, `reconciling`. Returns `404` for unknown or cross-org operation IDs.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/gpu/operations/{id}
openapi: 3.0.3
info:
  title: AI Reserve Gateway API
  description: >-
    The AI Reserve API surface — OpenAI-compatible chat completions,
    Anthropic-compatible messages, Bedrock Converse, images, video, files,
    text-to-speech, realtime voice sessions, and GPU Compute pod/volume
    management — all behind one endpoint and one API key.
  version: 1.0.0
servers:
  - url: https://api.aireserve.com
security:
  - bearerAuth: []
paths:
  /v1/gpu/operations/{id}:
    get:
      tags:
        - GPU Compute
      summary: Get operation
      description: >-
        Poll for the status of an asynchronous Compute operation. Terminal
        statuses: `succeeded`, `failed`, `cancelled`. Non-terminal: `pending`,
        `dispatched`, `reconciling`. Returns `404` for unknown or cross-org
        operation IDs.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Operation status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComputeOperation'
        '403':
          description: Compute access required.
        '404':
          description: Operation not found.
components:
  schemas:
    ComputeOperation:
      type: object
      description: >-
        An asynchronous Compute operation record. Poll `GET
        /v1/gpu/operations/{id}` until `status` is `succeeded` or `failed`.
      required:
        - id
        - operationId
        - action
        - status
        - resourceId
      properties:
        id:
          type: string
          format: uuid
          description: Operation record ID (same as `operationId`).
        operationId:
          type: string
          format: uuid
          description: Operation record ID. Alias for `id`.
        resourceId:
          type: string
          format: uuid
          description: ID of the resource this operation targets.
        resourceType:
          type: string
          enum:
            - pod
            - volume
            - template
            - registry
            - ssh_key
        action:
          type: string
          description: Operation type (e.g. `pod_create`, `pod_stop`, `volume_delete`).
        status:
          type: string
          enum:
            - pending
            - dispatched
            - reconciling
            - succeeded
            - cancelled
            - failed
        errorMessage:
          type: string
          nullable: true
          description: >-
            Human-readable error when status is `failed`. Does not contain raw
            provider error text or secrets.
        completedAt:
          type: string
          format: date-time
          nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your AI Reserve API key (aireserve_api_…) from the API Keys page in the
        portal (https://portal.aireserve.com/keys).

````