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

# Get run status and result



## OpenAPI

````yaml /openapi.json get /v1/runs/{run_id}
openapi: 3.0.0
info:
  title: apisale Public API
  version: 0.1.0
  description: >-
    Generative media inference, account monitoring, and SDK-compatible routes
    for apisale.ai. Authenticate with `Authorization: Key YOUR_API_KEY`.
servers:
  - url: https://api.apisale.ai
security: []
paths:
  /v1/runs/{run_id}:
    get:
      tags:
        - Public Runs
      summary: Get run status and result
      operationId: RunsController_getResult
      parameters:
        - name: run_id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Run status and result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunObject'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    RunObject:
      type: object
      required:
        - run_id
        - endpoint
        - model
        - capability
        - mode
        - status
        - created_at
      properties:
        run_id:
          type: string
          description: Unique run identifier
        endpoint:
          type: string
          description: Model slug
        model:
          type: string
        capability:
          type: string
        mode:
          type: string
        status:
          type: string
          enum:
            - queued
            - processing
            - succeeded
            - failed
            - timeout
            - cancelled
        output:
          type: object
          nullable: true
        error:
          type: object
          nullable: true
          properties:
            type:
              type: string
              description: Machine-readable error code
            code:
              type: number
              description: HTTP status
            message:
              type: string
        billing:
          type: object
          nullable: true
          properties:
            amount:
              type: string
            currency:
              type: string
              enum:
                - usd
        created_at:
          type: string
          format: date-time
        started_at:
          type: string
          format: date-time
          nullable: true
        completed_at:
          type: string
          format: date-time
          nullable: true
        elapsed_ms:
          type: number
          nullable: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'API key: `Key sk-xxx` or `Bearer sk-xxx`'

````