Get the status or result of a background research task
Changed onRetrieve 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.
Request
- Base URLhttps://api.you.com
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique identifier of the background research task.
Response
The current status and, if completed, the result of the task.
Example response
{
"id": "f1e2d3c4-0000-0000-0000-000000000000",
"task_type": "research",
"status": "queued",
"created_at": "2026-06-26T00:00:00Z",
"result": {
"output": {
"content_type": "text",
"sources": [
{
"url": "https://sustainablemobility.iclei.org/air-pollution-beijing/",
"title": "Clearing the skies: how Beijing tackled air pollution & what lies ahead",
"snippets": [
"The city actively coordinated air pollution control measures with surrounding areas, such as the Beijing-Tianjin-Hebei region."
]
}
]
},
"warnings": []
}
}Changes
- breaking
response property
completed_atlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
errorlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
updated_atlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
added
subschema #2to theresponse propertyoneOflist for the response status - breaking
the
response's property type changed fromobjectto no type for status - warning
added the new
researchenum value to theresponse property for the response status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking
- info
endpoint added
- info