---
title: "Get Job"
method: GET
path: "/api/jobs/{job_id}"
tags: ["jobs"]
---

# Get Job

`GET /api/jobs/{job_id}`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/xorbitsai/apis/xagent/docs/api/jobs/:job_id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `job_id` string, required

## Response `200`

Successful Response

- BackgroundJobResponse
  - `id` string, required
  - `user_id` integer, required
  - `job_type` string, required
  - `queue` string, required
  - `status` string, required
  - `progress` object, nullable
  - `result` object, nullable
  - `error_message` string, nullable
  - `celery_task_id` string, nullable
  - `attempts` integer, required
  - `max_attempts` integer, required
  - `started_at` string, date-time, nullable
  - `finished_at` string, date-time, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-06-13** `33e4ba4936ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/xorbitsai/apis/xagent/changes/api/jobs/:job_id/get.md)

---

[API](https://skmtc.dev/xorbitsai/apis/xagent.md) - [All operations](https://skmtc.dev/xorbitsai/apis/xagent/llms.txt) - [OpenAPI document](https://skmtc.dev/xorbitsai/apis/xagent/revisions/8646de810cc2?raw)
