Check the status of an asynchronous task.
cURL
curl --request GET \ --url https://api.buildwithtrace.com/api/v2/task/{task_id}/status \ --header 'Authorization: Bearer <token>'
{ "task_id": "<string>", "status": "pending", "result": {} }
JWT access token. Get one via POST /auth/login or from the Trace app (Settings → API Token). Tokens expire after 1 hour.
Task status
pending
running
completed
failed
Was this page helpful?