list_jobs
List jobs for the authenticated tenant, newest first. Cost class: fast.
workspace_id narrows to workspace-scoped jobs; omitting it returns document-operation jobs too. kind is the idiomatic way to list all ingestion runs without a dedicated resource.
Pagination is keyset on (created_at, id) — OFFSET would silently miss or duplicate rows when new jobs arrive between pages.
Args: session: Database session. caller: The authenticated tenant. workspace_id: When set, restrict to one workspace. kind: One or more job kinds to include. status: One or more job statuses to include. created_after: Lower bound on created_at (exclusive). project_id: When set, restrict to jobs sharing this grouping id. include_result: Deprecated single-result compatibility mode for old console builds. cursor: Opaque cursor from a previous page's next_cursor. limit: Requested rows per page, capped at JOB_LIST_PAGE_SIZE for legacy clients.
Returns: One page of jobs with an exact total under the same filters.
Request
- Base URLhttps://ndi-api.nace.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Restrict to jobs that run in or read from this workspace. Omit to also include workspace-free document-operation jobs.
Filter by job kind. Filtering by kind makes a separate 'ingestion runs' resource unnecessary.
Filter by job status.
Restrict to jobs created strictly after this timestamp (UTC).
Restrict to jobs sharing this caller-minted project id (the console's grouped runs).
Lists return metadata only. During the console rollout, true is a deprecated compatibility mode limited to one result per page; read complete results with GET /jobs/{job_id}.
Opaque cursor from a previous page's next_cursor. Omit for the first page.
Rows per page.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.