Research Task Status
Retrieve the current status of a background research task. While the task is in progress, the result field is null. Once the task reaches completed, the full research result is returned in result. If the task fails, status is failed and error contains a diagnostic message.
Authentication
X-API-Keystring
A unique API Key is required to authorize API access. [Get your API Key with free credits](https://you.com/platform).
Path parameters
task_id
The unique identifier of the background research task.
Response
The current status and, if completed, the result of the task.
task_id
Unique identifier for the background research task.
type
The task type.
status
The status of a background research task.
stream_url
The URL path for the Server-Sent Events stream for this task.
created_at
When the task was created, in RFC 3339 format.
result
The final research result when status is completed. null while the task is queued or running.
error
A diagnostic message when status is failed. null for all other statuses.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error