List Admin Jobs
const url = 'https://example.com/admin/jobs/?skip=0&limit=50&sort=created_at&order=asc';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/admin/jobs/?skip=0&limit=50&sort=created_at&order=asc' \ --header 'Authorization: Bearer <token>'List all ingestion jobs with optional status/user/search/sort filters (admin only).
sort and order are closed enums, so an unrecognised value is refused
with a 422 and never reaches the query.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Column to order by. Duration orders by the completed_at - started_at interval, so unfinished jobs sort last either way.
Column to order by. Duration orders by the completed_at - started_at interval, so unfinished jobs sort last either way.
Sort direction.
Sort direction.
Responses
Section titled “ Responses ”Successful Response
object
Page of ingestion jobs.
object
Unique ingestion job identifier.
Current job status: ‘pending’, ‘running’, ‘complete’, ‘failed’, or ‘cancelled’.
Whether the failed job can be retried with its retained source.
Timestamp when the job was queued.
Total number of jobs matching the query.
Example
{ "jobs": [ { "status": "pending" } ]}Bad request — invalid query parameters or payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request