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

# Get Async Agent Run Status

> Get the current status and result of an async agent run. Use this to poll for completion after starting an agent run via POST /async/agent/run. Recommended polling interval: 5–10 seconds.



## OpenAPI

````yaml get /api/v2/async/agent/run/status
openapi: 3.0.0
info:
  version: 1.0.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/async/agent/run/status:
    get:
      tags:
        - Async
      summary: Get Async Agent Run Status
      description: >-
        Get the current status and result of an async agent run. Use this to
        poll for completion after starting an agent run via POST
        /async/agent/run. Recommended polling interval: 5–10 seconds.
      operationId: getAsyncAgentRunStatus
      parameters:
        - schema:
            type: string
            minLength: 1
            description: The request ID returned by the async agent run POST endpoint
            example: asyncReqID_3rgkoHhR00cEdE9DjKeIK
          required: true
          name: requestId
          in: query
      responses:
        '200':
          description: Async agent run status
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    type: object
                    properties:
                      requestId:
                        type: string
                        description: The request ID
                      status:
                        type: string
                        enum:
                          - pending
                          - completed
                          - failed
                        description: 'Current request status: pending, completed, or failed'
                      result:
                        nullable: true
                        description: >-
                          The processed result data, available when status is
                          completed
                      error:
                        type: string
                        nullable: true
                        description: Error message if the request failed
                      createdAt:
                        type: string
                        nullable: true
                        description: When the request was created (ISO 8601)
                    required:
                      - requestId
                      - status
                required:
                  - _metadata
                  - data
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
        '404':
          description: Request not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
      deprecated: false
components:
  schemas:
    Metadata:
      type: object
      properties:
        usage:
          type: number
          default: 0
          description: API usage
          example: 0
        requestId:
          type: string
          description: Request ID
          example: requestId
        message:
          type: string
          description: Message
          example: message
        timestamp:
          type: string
          description: Timestamp
          example: '2021-01-01T00:00:00.000Z'
      required:
        - requestId
        - timestamp
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````