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

# List Jobs



## OpenAPI

````yaml get /api/jobs
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:
    get:
      tags:
        - jobs
      summary: List Jobs
      operationId: list_jobs_api_jobs_get
      parameters:
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by status
            title: Status
          description: Filter by status
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Maximum jobs to return
            default: 50
            title: Limit
          description: Maximum jobs to return
        - name: skip
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Number of jobs to skip
            default: 0
            title: Skip
          description: Number of jobs to skip
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    JobListResponse:
      properties:
        jobs:
          items:
            $ref: '#/components/schemas/JobExecutionResponse'
          type: array
          title: Jobs
          description: Jobs
      type: object
      title: JobListResponse
      description: List of jobs
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    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
    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

````