v2-api
document-agent
Enqueue an async document agent job
Changed onCreate a long-running document agent job. Returns immediately with a job_id — use GET /document/agent/jobs/{job_id} to poll for the result or GET /document/agent/jobs/{job_id}/stream for live SSE updates.
Recommended for production workloads, batch evaluation pipelines, or anything that may run longer than ~10 minutes. The job runs on a background worker pool with 30-minute hard timeout, per-user concurrency caps, and automatic refunds on failure.
post/document/agent/jobs
Request
- The document declares no server URL.
- Authnone declared
Request body
Response
Successful Response
Changes
- info
api tag
document-agentadded - info
api tag
v2-apiadded - info
api tag
Usageremoved
- info