---
title: "List Job Statuses"
method: GET
path: "/api/v0/job-statuses"
tags: ["Job Status"]
---

# List Job Statuses

`GET /api/v0/job-statuses`

## Query parameters

- `status` string, nullable — Filter by status: queued, processing, done, error, cancelled.
- `q` string, nullable — Free-text search over document name and error message.
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- JobStatusListResponse
  - `job_statuses` JobStatusListItem[], required — The job statuses, newest first.
    - `id` string, uuid, required — The ID of the job status.
    - `status` string, required — The status of the job. Options: `queued`, `processing`, `done`, `error`, `cancelled`.
    - `error_message` string, nullable — The error message returned from the job, if any.
    - `created_at` string, date-time, required — The date and time the job status was created.
    - `document_id` string, uuid, nullable — The public ID of the document this job is processing, if any.
    - `document_name` string, nullable — The name of the document this job is processing, if any.
    - `duration_seconds` number, nullable — End-to-end processing wall-clock for the job (derived from the Hyrex task span), in seconds. None while still running or once the job's tasks have aged out of the queue's retention.
  - `pagination` PaginationMetadata, required
    - `total` integer, required — The total number of items matching the query.
    - `limit` integer, required — The maximum number of items per page.
    - `offset` integer, required — The number of items skipped.
    - `has_more` boolean, required — Whether there are more items available.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/outerport/apis/outerport-api.md) · [All operations](https://skmtc.dev/outerport/apis/outerport-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/outerport/outerport-api/revisions/f565b46daaea/schema)
