---
title: "List recent background jobs"
method: GET
path: "/jobs"
tags: ["Jobs"]
---

# List recent background jobs

`GET /jobs`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/jobs`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Query parameters

- `limit` integer: Number of jobs to return (default 50, max 200)
- `offset` integer: Offset for pagination
- `cursor` string: Opaque cursor for stable newest-first pagination
- `status` string: Filter by status (pending, processing, completed, failed)
- `workspace_id` string: Filter by workspace ID
- `run_from` string: Include jobs scheduled at or after this RFC3339 timestamp
- `run_before` string: Include jobs scheduled before this RFC3339 timestamp

## Response `200`

OK

- JobResponse[], nullable
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `attempts` integer, required: Number of attempts
  - `created_at` string, required: Creation time
  - `id` string, required: Job ID
  - `last_error` string: Last error message
  - `locked_at` string: When job was locked
  - `max_attempts` integer, required: Maximum attempts
  - `payload` string: Job payload
  - `publication_id` string: Publication associated with this job, when available
  - `run_at` string, required: Scheduled run time
  - `status` string, required: Job status
  - `type` string, required: Job type

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
