> ## 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 Resource Status

> Get the current processing status of a resource. Use this to poll for completion after creating async resources (URL or drive mode).



## OpenAPI

````yaml get /api/v2/resource/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/resource/status:
    get:
      tags:
        - Resource
      summary: Get Resource Status
      description: >-
        Get the current processing status of a resource. Use this to poll for
        completion after creating async resources (URL or drive mode).
      operationId: getResourceStatus
      parameters:
        - schema:
            type: string
            description: Resource OId
            example: res_abc123
          required: true
          name: oId
          in: query
      responses:
        '200':
          description: Resource status
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    type: object
                    properties:
                      oId:
                        type: string
                        description: Resource OId
                      status:
                        type: string
                        nullable: true
                        enum:
                          - pending
                          - uploading
                          - indexed
                          - failed
                        description: >-
                          Current resource status: PENDING, UPLOADING, INDEXED,
                          or FAILED
                      storageData:
                        type: object
                        properties:
                          taskStatus:
                            type: string
                            nullable: true
                            enum:
                              - pending
                              - processing
                              - completed
                              - failed
                            description: RAG task status if applicable
                          ragTaskIdentifier:
                            type: string
                            nullable: true
                            description: RAG task identifier for tracking
                        description: Storage task details from RAG
                    required:
                      - oId
                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: Resource 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

````