Get collection async task
GET/openapi/2026-01/collections/async-task/:id
Retrieves the status and result of an asynchronous collection task initiated by AsyncCreateCollection or AsyncUpdateSmartCollectionRule.
Request
Path Parameters
Async task ID returned by AsyncCreateCollection or AsyncUpdateSmartCollectionRule
Query Parameters
create_collection: async smart collection creationupdate_smart_collection_rule: async smart collection rule update
Source resource ID this task operates on (e.g. collection UUID). Used as an alternative lookup key together with task_type when async task ID is unknown
Task type. Allowed values:
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
error code
error message
data object
async_task object
Async task detail
Async task ID
Source resource ID this task operates on (e.g. collection UUID)
Task type. Possible values: create_collection, update_smart_collection_rule
Task state. Possible values: pending, running, succeeded, failed
Human-readable message, typically an error description when state = failed
Task creation time, ISO 8601 format (e.g. 2026-01-15T10:30:00Z)
Task last update time, ISO 8601 format
task_data object
Task payload. Concrete schema depends on task_type. The wrapped message includes its @type for client-side decoding
The type of the serialized message.
Task payload. Concrete schema depends on task_type. The wrapped message includes its @type for client-side decoding
{
"code": "string",
"message": "string",
"data": {
"async_task": {
"id": "string",
"source_id": "string",
"task_type": "string",
"state": "string",
"message": "string",
"created_at": "string",
"updated_at": "string",
"task_data": {
"@type": "string"
}
}
}
}