List jobs
Retrieve a paginated, filterable list of moderation jobs for your account.
Documentation Index
Fetch the complete documentation index at: https://docs.omnifence.ai/llms.txt
Use this file to discover all available pages before exploring further.
job:read scope. Requests without this scope receive a 403 FORBIDDEN response. See
authentication.created_at descending) and scoped to your account. Use limit
(max 100) and offset to page through results; total in the response is the unpaginated count.
Filters
| Parameter | Description |
|---|---|
type | Job modality — prompt, image, or video (pre/post are legacy). |
decision | Moderation outcome — pass or reject. |
status | Job status — see below. |
search | Prefix-match on job_id. |
from | Inclusive lower bound on created_at (ISO 8601). |
to | Exclusive upper bound on created_at (ISO 8601). |
Status filter
status accepts a comma-separated list of one or more job statuses:
| Status | Meaning |
|---|---|
queued | Accepted, waiting for a worker. |
processing | Running through the moderation pipeline. |
completed | Finished — see is_prohibited for the outcome. |
failed | Terminated with an error before a decision. |
queued and processing are the in-flight states; completed and failed are terminal. To list
every job still in flight, request both:
400 INVALID_REQUEST.
Polling for completion
Webhooks are the primary, low-latency way to learn that a job finished — register one when you submit, or via register webhook. Webhook delivery is best-effort, so use this endpoint as a cheap reconciliation safety net rather than your primary signal:- Poll
GET /api/v1/jobs?status=queued,processingon an interval. One request covers every outstanding job, regardless of how many you have in flight — far cheaper than polling each job individually with get job status. - A job that drops out of the in-flight list has reached a terminal state. Fetch the terminal set
(
status=completed,failed, optionally narrowed withfrom) to pick up any outcome whose webhook was missed. - Keep the interval modest — every request counts toward your rate limit. Webhooks carry the fast path; reconciliation only needs to catch stragglers.
Example
Authorizations
API key from the Stars dashboard
Query Parameters
1 <= x <= 100x >= 0Filter by job modality. prompt, image, video are the active modalities; pre/post are legacy types kept for historical jobs.
pre, post, prompt, image, video Filter by moderation decision.
pass, reject Filter by job status. Comma-separated list of: queued, processing, completed, failed. Example: status=queued,processing returns all in-flight jobs — useful for low-cost reconciliation polling alongside webhooks.
Prefix-match filter on job_id.
64Inclusive lower bound on job created_at (ISO 8601).
Exclusive upper bound on job created_at (ISO 8601).
