Lightweight endpoint optimized for polling task status.
Returns only the task status, output, and cost without loading steps, files, or session details. Use this endpoint for efficient polling instead of GET /tasks/.
Recommended polling pattern:
Successful Response
Lightweight view optimized for polling. Use GET /tasks/{id}/status for efficient polling instead of GET /tasks/{id} which loads full step details.
Unique identifier for the task
Current status of the task
created, started, finished, stopped Final output/result of the task (null while running)
Naive UTC timestamp when the task completed (null if still running)
Whether the task was successful based on the agent's self-reported output
Total cost of the task in USD