PaginatedResponse[ScrapeJobRead]
items object[]required
Unique numeric identifier of the record.
ID of the product (workspace) that owns this record. Most endpoints scope access by product.
ID of the agent (a configured AI assistant / bot persona) this record belongs to.
directory_id objectrequired
Knowledge directory receiving the documents; set as soon as ingestion starts.
- integer
- null
The URL the job was created for.
Resolved discovery mode (site or page).
Possible values: [site, page]
context objectrequired
Client context used by page selection and content cleaning.
- string
- null
max_pages objectrequired
Effective page cap for this job.
- integer
- null
Job lifecycle state (queued, in_progress, completed, failed, expired).
Possible values: [queued, in_progress, completed, failed, expired]
stage objectrequired
Current pipeline phase while in progress (discover, select, fetch, normalize, ingest).
- ScrapeJobStage
- null
Possible values: [discover, select, fetch, normalize, ingest]
selection objectrequired
Audit trail of every considered URL with its score, category, one-line reason, and whether it was kept.
- object[]
- null
stats objectrequired
Live page counters (pages_discovered, pages_selected, pages_fetched, pages_normalized, pages_ingested, pages_failed), updated continuously while the job runs.
- object
- null
error_message objectrequired
Failure reason for failed or expired jobs.
- string
- null
Last status or liveness update time (UTC, ISO 8601).
started_at objectrequired
When a worker claimed the job (UTC, ISO 8601).
- date-time
- null
completed_at objectrequired
When the job reached a terminal state (UTC, ISO 8601).
- date-time
- null
Creation time (UTC, ISO 8601).
Last modification time (UTC, ISO 8601).
{
"items": [
{
"id": 0,
"product_id": 0,
"agent_id": 0,
"directory_id": 0,
"url": "string",
"mode": "site",
"context": "string",
"max_pages": 0,
"status": "queued",
"stage": "discover",
"selection": [
{}
],
"stats": {},
"error_message": "string",
"status_changed_at": "2024-07-29T15:51:28.071Z",
"started_at": "2024-07-29T15:51:28.071Z",
"completed_at": "2024-07-29T15:51:28.071Z",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}
],
"page": 0,
"limit": 0,
"total": 0,
"pages": 0
}