List batches
Changed onList your batches from newest to oldest. Filter by status or continue with a cursor.
Request
- Base URLhttps://api.context.dev/v1
- URLhttps://api.context.dev/v1/batch/list
- AuthHTTP bearer
Query parameters
Batches per page. Defaults to 25.
Cursor from the previous page.
Filter by status.
Free-text search term, matched against the batch id, crawl source (start URL or sitemap domain), and tags.
prefix for as-you-type prefix matching (default), exact for full-token matching.
Comma-separated list of tags to filter by (matches batches having any of them).
Response
Your batches, newest first. Use next_cursor to page through the rest.
Example response
{
"data": [
{
"id": "batch_9f2c8a",
"tags": [
"docs"
],
"crawl": {
"source": {
"url": "https://example.com/docs"
},
"max_pages": 500,
"url_pattern": "^https://example\\.com/docs/"
},
"input": {
"reserved": 24817,
"submitted": 25000,
"duplicates": 183
},
"progress": {
"succeeded": 18091,
"failed": 311,
"pending": 6415
},
"credits": {
"reserved": 24817,
"refunded": 6726,
"ocr_charged": 42,
"net": 18091
},
"page_errors": [
{
"code": "WEBSITE_ACCESS_ERROR",
"count": 204
}
],
"failure": {
"code": "stalled",
"message": "Batch stopped reporting progress and was finalized automatically"
}
}
]
}Changes
- warning
added the new
WEBSITE_BLOCKEDenum value to theresponse property for the response status
- warning
- warning
added the new
COLD_DOMAIN_TIMEOUT_TOO_LOWenum value to theresponse property for the response status - info
added
subschema #1: Start URLsubschema #2: Sitemapto the/////response propertyanyOflist for the response status - info
removed
subschema #1subschema #2from the/////response propertyanyOflist for the response status - info
added the required property
///to the response with the status
- warning