---
title: "List background job history"
method: GET
path: "/admin/jobs/{queue}"
tags: ["Admin"]
---

# List background job history

`GET /admin/jobs/{queue}`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/admin/jobs/{queue}`
- Auth: HTTP bearer

Durable, paginated job history for a queue (from Postgres), optionally filtered by job name and run status.

## Path parameters

- `queue` 'embeddings' | 'maintenance' | 'opportunities' | 'profile-enrichment', required

## Query parameters

- `page` integer
- `limit` integer
- `name` string
- `status` 'QUEUED' | 'RUNNING' | 'RETRYING' | 'COMPLETED' | 'FAILED' | 'CANCELLED', nullable

## Response `200`

Job history retrieved successfully

- JobHistory
  - `queue` string, required
  - `status` 'QUEUED' | 'RUNNING' | 'RETRYING' | 'COMPLETED' | 'FAILED' | 'CANCELLED', nullable, required
  - `page` integer, required
  - `limit` integer, required
  - `total` integer, required
  - `jobs` JobHistoryItem[], required
    - `id` string, required
    - `updated_at` string, required
    - `queue` string, required
    - `job_id` string, required
    - `name` string, required
    - `status` 'QUEUED' | 'RUNNING' | 'RETRYING' | 'COMPLETED' | 'FAILED' | 'CANCELLED', nullable, required
    - `attempts_made` integer, required
    - `failure_reason` string, nullable, required
    - `enqueued_at` string, nullable, required
    - `started_at` string, nullable, required
    - `finished_at` string, nullable, required
    - `duration_ms` integer, nullable, required
    - `retryable` boolean, required

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/6cc194695138?raw)
