Skip to main content
GET
/
v1
/
artifacts
/
delete
/
async
/
{task_id}
Check Deletion Task Status
curl --request GET \
  --url https://{base_url}/gpt/v1/artifacts/delete/async/{task_id}
{
"task_id": "123e4567-e89b-12d3-a456-426614174000",
"task_status": "SUCCESS"
}

Path Parameters

task_id
string
required

Unique identifier of the deletion task to check status for

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Successfully retrieved task status

Represents the status of an asynchronous task, including its ID, status, and result.

task_id
string
required

Unique identifier of the task being monitored

Example:

"123e4567-e89b-12d3-a456-426614174000"

task_status
string
required

Current execution status of the task. Common values: PENDING, SUCCESS, FAILURE, REVOKED

Examples:

"PENDING"

"SUCCESS"

"FAILURE"

"REVOKED"

task_result
string | null
required

Task execution result. Contains typed result data on success, error message string on failure, or None for pending/deletion tasks

Example:

null