Skip to content

Get task details

GET
/api/v3/organizations/{organisation}/ai/tasks/{taskId}
curl --request GET \
--url https://dashboard.quantcdn.io/api/v3/organizations/example/ai/tasks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Retrieves detailed information about a specific task including status, progress, dependencies, and results.

organisation
required
string

The organisation ID

taskId
required
string format: uuid

The task UUID

Task details retrieved successfully

Media typeapplication/json
object
taskId
string format: uuid
orgId
string
taskListId
string
nullable
title
string
description
string
status
string
Allowed values: pending in_progress completed failed cancelled blocked
assignedAgentId
string
nullable
createdByAgentId
string
nullable
dependsOn
Array<string>
metadata
object
progress
number format: float
<= 1
progressMessage
string
result

Task result data when completed

object
error

Error message if status is failed

string
nullable
retryCount
integer
maxRetries
integer
createdAt

Unix timestamp in milliseconds

integer format: int64
updatedAt

Unix timestamp in milliseconds

integer format: int64
startedAt

When status changed to in_progress

integer format: int64
nullable
completedAt

When task completed/failed/cancelled

integer format: int64
nullable
expiresAt

TTL timestamp for completed tasks

integer format: int64
nullable
blockedReason

Reason task is blocked

string
nullable
blockedByTaskIds

Task IDs that are blocking this task

Array<string>
nullable
blockedAt

When status changed to blocked

integer format: int64
nullable
Example
{
"taskId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "quant",
"taskListId": "world-1",
"title": "Process document and create summary",
"description": "Extract text from PDF, analyze content",
"status": "pending",
"assignedAgentId": "agent-123",
"createdByAgentId": "agent-coordinator",
"metadata": {
"priority": "high"
},
"progress": 0.5,
"progressMessage": "Extracted text, analyzing content...",
"retryCount": 0,
"maxRetries": 3,
"createdAt": 1735689600000,
"updatedAt": 1735689700000
}

Task not found

Failed to get task