Report the crawl outcome
Finalises a crawl, moving the source to ready or failed. A repeat
call reporting the status the source is already in is an idempotent
no-op. On ready the next crawl time is recomputed from the schedule;
on failed last_error is stored and no re-crawl is scheduled.
Authorizations
Deploy-wide server-to-server bearer token (ENGINE_API_TOKEN),
validated by the engine_api firewall. Authenticates the Engine API,
Knowledge base, and Conversions surfaces. The tenant_id rides in the
request body and is trusted in V1 — keep this token strictly
server-side.
Path Parameters
The knowledge-base source UUID.
Body
Body-selected tenant the call acts for.
Terminal crawl status.
ready, failed x >= 0x >= 0Failure detail; stored when status is failed.
Response
Updated source
A knowledge-base source's crawl configuration and current status.
Source type (e.g. website).
scheduled, crawling, ready, failed, paused Crawl schedule, when recurring.