Get crawling status for the latest operation
GET/knowledge-bases/crawler/status
Fetches crawl/train progress for a specific operation, or the latest operation when operationId is omitted. WHEN TO USE: use this when you need to poll a discoverWebsite or trainDiscoveredUrls run; do not use it to start a crawl or train pages. RETURNS: aggregated counts by status plus detailed operation information.
Request
Version stringrequired
API Version
Available options
v3locationId stringrequired
Location ID as string
operationId string
operation id as string (optional - gets latest if not provided)
knowledgeBaseId stringrequired
knowledge base id
Operation status fetched successfully
- application/json
- Schema
- Example (auto)
Schema
aggregateobject[]required
Aggregated crawling results by status
operationDetailsobjectrequired
Detailed operation information
{
"aggregate": [
{
"_id": "Failed",
"records": [
{
"url": "https://developer.mozilla.org/en-US/blog/rss.xml",
"id": "688e41118a188704914d13c0"
}
]
}
],
"operationDetails": {}
}