Skip to content

Approvals

Executions waiting for a teammate's approval, and resuming them.

On this page

Concepts: Agents and MCP

Endpoint summaries come from the OpenAPI document.

GET/v1/executions/{execution}

Status of an action waiting for a teammate's approval

Operation (MCP tool)
getExecution
Authentication
API key (pfa_…)OAuth token (pfo_…)

Parameters

Parameters
NameInTypeDescription
executionRequiredpathstringExecution id (`exe_…`)

Responses

Responses
StatusDescriptionBody
200OKExecution
401ProblemProblem (RFC 9457)
403ProblemProblem (RFC 9457)
404ProblemProblem (RFC 9457)

Related error codes

Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.

POST/v1/executions/{execution}/resume

Result of an approved action. 409 approval_pending while undecided, 403 approval_declined, 410 approval_expired. Never start the action again instead

Operation (MCP tool)
resumeExecution
Authentication
API key (pfa_…)OAuth token (pfo_…)

Parameters

Parameters
NameInTypeDescription
executionRequiredpathstringExecution id (`exe_…`)

Responses

Responses
StatusDescriptionBody
200Approved and doneobject
401ProblemProblem (RFC 9457)
403ProblemProblem (RFC 9457)
404ProblemProblem (RFC 9457)
409ProblemProblem (RFC 9457)
410ProblemProblem (RFC 9457)

Related error codes

Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.