tasks
Check Async Tasks
Generic server-side check of all in_progress async tasks.
Reads each task's structured check recipe and executes it:
- Call check.url with check.method (GET/POST with check.body)
- If POST returns job_id, wait poll_delay_s then poll the result
- If response has check.success_key → deliver to conversation, mark done
- If generating/pending → skip
- If error → deliver error, mark done
This endpoint is fully generic — it doesn't know what the check URLs do. The recipes are written by the job submission layer (media.py, etc). Called by heartbeat: curl -s -X POST "$API_BASE_URL/api/tasks/agent/$AGENT_ID/check-async" -H "Authorization: Bearer $API_TOKEN"
post/api/tasks/agent/{agent_id}/check-async
Request
- Base URL: https://api.tintin-x.com (the document declares no server; this is the origin it was published from)
- URL: https://api.tintin-x.com/api/tasks/agent/{agent_id}/check-async
- Auth: HTTP bearer
Path parameters
agent_idstring uuid required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.