Skip to content
Select themeSelect language

`GET /api/tasks/{id}/subtasks/{subtask_id}` — fetch the redaction-safe result of a completed (or in-flight) subtask. Workspace-scoped via the parent.

GET
/api/tasks/{id}/subtasks/{subtask_id}
curl --request GET \
--url https://example.com/api/tasks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/subtasks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0
id
required
string format: uuid

Parent task ID

subtask_id
required
string format: uuid

Subtask ID

Media typeapplication/json
object
cost
number | null format: double
error
string | null
output_redacted
string | null
profile_used
string | null
status
required
string
Examplegenerated
{
"cost": 1,
"error": "example",
"output_redacted": "example",
"profile_used": "example",
"status": "example"
}