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

# Get run status

> Fetch status, result, usage, and error details for a run.



## OpenAPI

````yaml /developer-api/developer-v1.openapi.yaml get /v1/runs/{run_id}
openapi: 3.1.0
info:
  title: CREAO Developer API
  version: 1.0.0
  description: |
    Create, update, and run personal CREAO agents from your backend with
    Account API keys. The v1 API uses stable `agent_id`, `conversation_id`, and
    `run_id` identifiers and is served from `developer.creao.ai`.
servers:
  - url: https://developer.creao.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Agents
    description: Create, update, and edit personal agents for the authenticated account.
  - name: Runs
    description: Create, stream, fetch, and list Developer API runs.
paths:
  /v1/runs/{run_id}:
    get:
      tags:
        - Runs
      summary: Get run status
      description: Fetch one run by `run_id` for the authenticated Account key owner.
      operationId: getRun
      parameters:
        - name: run_id
          in: path
          required: true
          description: Developer API run ID.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Run object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Run'
              examples:
                completed:
                  value:
                    run_id: 11111111-1111-4111-8111-111111111111
                    status: completed
                    agent_id: 00000000-0000-4000-8000-000000000000
                    conversation_id: 22222222-2222-4222-8222-222222222222
                    result:
                      text: Done.
                    usage:
                      credits: 2.5
                    created_at: '2026-07-03T10:00:00.000Z'
                    started_at: '2026-07-03T10:00:02.000Z'
                    completed_at: '2026-07-03T10:00:30.000Z'
                    webhook_delivered_at: null
        '400':
          $ref: '#/components/responses/InvalidInput'
        '401':
          $ref: '#/components/responses/AuthenticationRequired'
        '404':
          description: Run not found for this account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                runNotFound:
                  value:
                    error: RUN_NOT_FOUND
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Run:
      type: object
      required:
        - run_id
        - status
        - agent_id
        - conversation_id
      properties:
        run_id:
          type: string
          format: uuid
          description: Developer API run ID.
        status:
          $ref: '#/components/schemas/RunStatus'
        agent_id:
          oneOf:
            - type: string
              format: uuid
            - type: 'null'
          description: >-
            Agent that ran. Creation runs return `null` until the agent is
            created, then the completed run includes the new agent ID.
        conversation_id:
          oneOf:
            - type: string
              format: uuid
            - type: 'null'
          description: Conversation ID for follow-up runs.
        result:
          $ref: '#/components/schemas/RunResult'
        usage:
          $ref: '#/components/schemas/Usage'
        error:
          $ref: '#/components/schemas/RunError'
        created_at:
          type: string
          format: date-time
        started_at:
          oneOf:
            - type: string
              format: date-time
            - type: 'null'
        completed_at:
          oneOf:
            - type: string
              format: date-time
            - type: 'null'
        webhook_delivered_at:
          oneOf:
            - type: string
              format: date-time
            - type: 'null'
    ErrorResponse:
      type: object
      additionalProperties: true
      required:
        - error
      properties:
        error:
          type: string
          description: Stable machine-readable error code.
        message:
          type: string
          description: Debug message. Do not rely on this field in production clients.
        available:
          type: number
          description: Available credits, when returned for credit errors.
        required:
          type: number
          description: Required credits, when returned for credit errors.
        retryAfterSeconds:
          type: integer
          description: Retry delay, when returned for hourly cap errors.
    RunStatus:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
        - cancelled
    RunResult:
      type: object
      additionalProperties: true
      description: >-
        Final agent output. Completed runs commonly include `text`;
        agent-creation runs also include `agent_id`.
      properties:
        agent_id:
          type: string
          format: uuid
          description: New agent ID when a `POST /v1/agents` creation run completes.
        agent_name:
          type: string
        text:
          type: string
        artifacts:
          type: array
          items:
            $ref: '#/components/schemas/Artifact'
    Usage:
      type: object
      required:
        - credits
      properties:
        credits:
          type: number
          description: Credits attributed to this Developer API run.
    RunError:
      type: object
      required:
        - code
      properties:
        code:
          type: string
          description: Stable machine-readable failure code.
    Artifact:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
        title:
          type: string
        type:
          type: string
        url:
          type: string
  responses:
    InvalidInput:
      description: Invalid request shape, invalid UUID, or unsupported status filter.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            invalidInput:
              value:
                error: INVALID_INPUT
    AuthenticationRequired:
      description: Missing, malformed, revoked, or unknown Account API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            missingKey:
              value:
                error: AUTHENTICATION_REQUIRED
    RateLimited:
      description: Account-level or IP-level rate limit exceeded.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            rateLimited:
              value:
                error: RATE_LIMITED
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: cr_sk
      description: Account API key from Developer Console. Keys start with `cr_sk_`.
      x-default: cr_sk_your_key_here

````