> ## 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 Job



## OpenAPI

````yaml get /api/jobs/{job_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/jobs/{job_id}:
    get:
      tags:
        - jobs
      summary: Get Job
      operationId: get_job_api_jobs__job_id__get
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobExecutionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    JobExecutionResponse:
      properties:
        job_id:
          type: string
          title: Job Id
          description: Unique job identifier
        job_type:
          type: string
          title: Job Type
          description: Job type
        status:
          type: string
          title: Status
          description: Job status
        execution_details:
          anyOf:
            - $ref: '#/components/schemas/ExecutionDetails'
            - type: 'null'
          description: Human-readable execution details for display
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Creation timestamp
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
          description: Start timestamp
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
          description: Completion timestamp
        assigned_to_machine_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Assigned To Machine Id
          description: Assigned machine ID
        result:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Result
          description: Job result
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
          description: Error message if failed
        status_history:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Status History
          description: Status update history
      type: object
      required:
        - job_id
        - job_type
        - status
        - created_at
      title: JobExecutionResponse
      description: Job execution details
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ExecutionDetails:
      properties:
        display_label:
          type: string
          title: Display Label
          description: Human-readable label for display
        detail_type:
          type: string
          title: Detail Type
          description: Type of execution detail
      type: object
      required:
        - display_label
        - detail_type
      title: ExecutionDetails
      description: Execution details for display purposes
    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

````