Artifacts
Artifacts
Check Deletion Task Status
Retrieve the current status of an asynchronous deletion task
get/v1/artifacts/delete/async/{task_id}
Path parameters
task_idstring required
Unique identifier of the deletion task to check status for
Example:123e4567-e89b-12d3-a456-426614174000
Response
Successfully retrieved task status
Example response
{
"task_id": "123e4567-e89b-12d3-a456-426614174000",
"task_result": {
"data": [
{
"artifact": "annual_report",
"doc_metadata": {
"file_name": "report.pdf",
"pages": 45
},
"object": "ingest.document"
}
],
"model": "private-gpt",
"object": "list"
},
"task_status": "SUCCESS"
}