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

# Get a job

> The job's tasks are found with `GET /api/v1/tasks?job_id=`.



## OpenAPI

````yaml /0.20/openapi.json get /api/v1/jobs/{id}
openapi: 3.0.3
info:
  title: 2501 Public API
  version: v1
  description: >-
    The stable, versioned HTTP API for driving 2501 as code. See the API
    Overview for authentication, the org_id rule, cursor pagination, and the
    error envelope.
servers:
  - url: https://{command_center_host}
    variables:
      command_center_host:
        default: your-command-center-host
        description: Your Command Center host
security:
  - bearerAuth: []
paths:
  /api/v1/jobs/{id}:
    get:
      tags:
        - Jobs
      summary: Get a job
      description: The job's tasks are found with `GET /api/v1/tasks?job_id=`.
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      responses:
        '200':
          description: The job
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Job'
        '400':
          description: >-
            Bad request - a field is missing, malformed, or not allowed
            (VALIDATION_FAILED, BAD_REQUEST, INVALID_CURSOR)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: >-
            No credentials, or a key that is invalid, revoked, or expired
            (UNAUTHORIZED)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            Authenticated but not allowed (FORBIDDEN, ORG_ACCESS_DENIED,
            STEP_UP_REFUSED, TWO_FACTOR_ENROLLMENT_REQUIRED,
            LICENSE_CAP_REACHED, LICENSE_EXPIRED)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such row that this caller can see (NOT_FOUND)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Job:
      type: object
      properties:
        id:
          type: string
          example: job_9f3b6d2a-...
        org_id:
          type: string
        ticket_id:
          type: string
          nullable: true
          description: The ticket that opened the job; null for a job started another way
        gateway_id:
          type: string
          nullable: true
        job_schedule_id:
          type: string
          nullable: true
        owner_id:
          type: string
          nullable: true
          description: The user who started the job
        status:
          type: string
          enum:
            - pending
            - pre_process
            - attachment_processing
            - task_creation
            - task_update
            - in_progress
            - waiting_for_approval
            - failed
            - completed
            - attachment_processing_failed
          example: completed
          description: >-
            completed and failed end a run. Every other value is a step of a run
            in progress. A job can be reopened, which starts a new run (see
            reopened_at).
        execution_mode:
          type: string
          nullable: true
          enum:
            - investigate
            - remediate
            - null
          example: investigate
          description: >-
            The mode forced on every agent of the job. investigate is Plan;
            remediate is Auto. null: each agent uses its own mode.
        description:
          type: string
          nullable: true
        resolution_status:
          type: string
          nullable: true
          enum:
            - hard_failure
            - no_action
            - success
            - agentic_failure
            - partial
            - null
        resolution_reasoning:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
          example: '2026-08-26T10:00:26.380Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-08-26T10:00:26.380Z'
        completed_at:
          type: string
          nullable: true
          format: date-time
          example: '2026-08-26T10:00:26.380Z'
        reopened_at:
          type: string
          nullable: true
          format: date-time
          example: '2026-08-26T10:00:26.380Z'
        reopen_trigger:
          type: string
          nullable: true
          enum:
            - mention
            - ticket_state
            - null
          description: >-
            What reopened the job: a mention in the ticket or a ticket state
            change
      required:
        - id
        - org_id
        - ticket_id
        - gateway_id
        - job_schedule_id
        - owner_id
        - status
        - execution_mode
        - description
        - resolution_status
        - resolution_reasoning
        - created_at
        - updated_at
        - completed_at
        - reopened_at
        - reopen_trigger
    Error:
      type: object
      properties:
        code:
          type: string
          example: VALIDATION_FAILED
        message:
          type: string
          example: Validation failed
        request_id:
          type: string
          example: req_3702b7e7-...
        field:
          type: string
          description: Set when one input is at fault
        errors:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
              message:
                type: string
            required:
              - field
              - message
          description: Set when several inputs are at fault
        details:
          type: object
          additionalProperties:
            nullable: true
      required:
        - code
        - message
        - request_id
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API key minted in Command Center (Settings -> API Keys), sent as
        `Authorization: Bearer 2501_ak_...`. A Command Center session cookie is
        also accepted.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.