Endpoint: GET /v2/task/{task_id}

This endpoint allows you to retrieve the current status of a specific task. This is useful for tracking the progress of ongoing tasks or retrieving the results once a task is completed. The task ID is required to fetch the corresponding task details.

Parameters

task_id
string
required

The unique identifier of the task.

Response Parameters

task_id
string

The unique identifier of the task.

status
string

The current status of the task (e.g., “pending”, “completed”)

result
string

The result of the task, if completed.

response
string

The agent’s response to the task.