Skip to main content

List the AGENT-STAGED coordinator pending actions anchored to a task (PLT-373)

GET 

/api/projects/:id/tasks/:taskId/pending-actions

List the AGENT-STAGED coordinator pending actions anchored to a task (PLT-373). An assignable-agent run that proposes a destructive action stages it as a confirm-gated coordinator.pending_actions row; this route is where an authorized human reviews everything staged against the task before confirming via POST /api/coordinator/pending-actions/{id}/execute or dismissing via …/{id}/cancel. Authorization is two-layered and matches the confirm surface: the task must be readable (project access) AND the caller must be a programme member of the staged row’s initiative — a task reader who is not a delegate gets an empty list (they still see the proposal via the task thread comment). Only ACTIONABLE rows (pending / executing) are listed; terminal outcomes live in the audit log.

Request

Responses

Successful response