Endpoint
Terminal states
Stop polling when status is one of:completedfailedcancelled
Recommended polling strategy
A reasonable default:- first minute: every 2 to 5 seconds
- larger crawl jobs: back off to 5 to 15 seconds
- always apply a client-side maximum wait time
What to inspect while polling
statusqueuedin_progressdonefailedlast_errorupdated_at
What to do next
- if
completed, fetch results - if
failed, inspect error fields and decide whether to retry - if
cancelled, stop work and clean up any dependent jobs