Get task details
GET/api/projects/:id/tasks/:taskId
Get task details. The response carries decisionRequest (PT-905) — by default the task's LATEST decision-request, suppressed to null while the task is complete. Pass decisionRequestId to hydrate a specific one: that is the only correlation path a resuming agent has once a NEWER request has opened on the same task, which would otherwise hide its answered one for good. An id-addressed request that is already answered or cancelled is returned even on a complete task — the suppression exists to stop a stale OPEN question being offered as a live control, not to withhold the answer an agent is resuming from, which is frequently what completed the task. An open request stays suppressed on a complete task whether or not it was addressed by id.
Request
Responses
- 200
- 400
- 401
- 403
Successful response
Bad Request — decisionRequestId is not a UUID.
Unauthorized — authentication credentials are missing or invalid
Forbidden — requires tasks.read permission