REST API - Tasks
Get Task
Retrieve detailed information about a specific task by its unique identifier
GET
Get Task
Get complete details about a task/thread record including its current status, latest input, latest result, and execution timing. This endpoint is essential for polling async tasks and for inspecting the latest turn of a continued conversation.
Only use
Path Parameters
Response
Latest task result. This is usually plain text or markdown. Only parse it as JSON if you explicitly requested JSON/structured output.
On a conversation, equal to
id: the id you pass to continue the conversation. Null on a one-shot taskOn a conversation:
direct, or gateway for a conversation recorded before September 2026 (read-only). Null on one-shot tasksIn a multi-turn conversation, this endpoint shows the latest input and latest result for the reused task/thread ID. Use Get Task Thread or Get Task Thread (Full) for the full message history.
Example Request
Example Response
Extracting Results
For normal text or markdown responses:fromjson when you explicitly requested JSON output:
Status Polling Pattern
For async workflows, poll untilstatus is no longer pending or executing:
Use Cases
- Retrieve task results - Get final output after async execution
- Check execution status - Monitor if task is still executing
- Track timing - See
created_at,started_at,finished_atfor performance analysis - Get latest-turn details - Review the most recent input and output for a continued conversation
Response
Successful Response

