Get Task
Retrieve detailed information about a specific task by its unique identifier
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.Documentation Index
Fetch the complete documentation index at: https://docs.xpander.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Response
id in later invokes to continue the same conversation.pending, executing, paused, error, failed, completed, or stoppedmarkdown or jsonapi, sdk, dashboard, webhookExample 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
Authorizations
API Key for authentication
Path Parameters
Response
Successful Response
pending, executing, paused, error, failed, completed, stopped Model representing human-in-the-loop approval records for tasks.
Attributes: wait_node_id (str): The id of the node that triggered this HITL.
text, markdown, json, voice default, harder Snapshot of the effective LLM provider used for this execution. Reflects the per-execution override when supplied on the invocation request, otherwise falls back to the agent's configured provider.
Snapshot of the effective model name used for this execution. Reflects the per-execution override when supplied on the invocation request, otherwise falls back to the agent's configured model.
Snapshot of the effective reasoning effort used for this execution. Reflects the per-execution override when supplied on the invocation request, otherwise falls back to the agent's configured reasoning effort.
low, medium, high, xhigh 
