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

# Get Run

> Get detailed information about a specific agent run



## OpenAPI

````yaml get /api/agent/runs/{run_id}
openapi: 3.1.0
info:
  title: Axion Backend API
  description: Backend API for Axion platform with desktop automation capabilities
  version: 1.0.0
servers:
  - url: https://api.getgranite.ai
    description: Production server
  - url: http://localhost:8000
    description: Local development server
security: []
tags:
  - name: Authentication
    description: User authentication and session management
  - name: Organizations
    description: Organization management and membership
  - name: Health
    description: API health and status monitoring
  - name: Automations
    description: Automation planning and execution
  - name: MIG
    description: Managed Instance Group operations
  - name: Agent
    description: Agent execution and streaming
  - name: Onboarding
    description: Organization onboarding flow
  - name: Organization Automations
    description: Organization automation endpoint management
  - name: Organization Endpoints
    description: Public endpoints for organization automations
  - name: Analytics
    description: Analytics and reporting endpoints
paths:
  /api/agent/runs/{run_id}:
    get:
      tags:
        - Agent
      summary: Get single agent run details
      description: Get detailed information about a specific agent run
      operationId: getAgentRun
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentRunDetailResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AgentRunDetailResponse:
      properties:
        agent_run_id:
          type: string
          title: Agent Run Id
          description: Unique agent run identifier
        user_prompt:
          type: string
          title: User Prompt
          description: The original task prompt
        status:
          type: string
          title: Status
          description: Run status (running, completed, failed, cancelled)
        execution_time:
          anyOf:
            - type: string
            - type: 'null'
          title: Execution Time
          description: Total execution duration
        created_at:
          type: string
          title: Created At
          description: Run start timestamp
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Completed At
          description: Run completion timestamp
        instance_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Instance Id
          description: VM instance ID used for this run
        execution_log:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Execution Log
          description: Execution event log
      type: object
      required:
        - agent_run_id
        - user_prompt
        - status
        - created_at
      title: AgentRunDetailResponse
      description: Detailed information about a single agent run
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````