Skip to main content
GET
/
task
/
{task_id}
/
status
Get task status
curl --request GET \
  --url https://api.buildwithtrace.com/api/v2/task/{task_id}/status \
  --header 'Authorization: Bearer <token>'
{
  "task_id": "<string>",
  "status": "pending",
  "result": {}
}

Authorizations

Authorization
string
header
required

JWT access token. Get one via POST /auth/login or from the Trace app (Settings → API Token). Tokens expire after 1 hour.

Path Parameters

task_id
string
required

Response

200 - application/json

Task status

task_id
string
status
enum<string>
Available options:
pending,
running,
completed,
failed
result
object