Skip to main content

Operation approvals

The approvals a destructive MCP tool asked for, when the client could not confirm through a form and sent the person an approval link instead. Read-only: deciding happens only on the approval page, never through the API or the CLI. The list is the caller's own approvals — the person behind the token — in the token's organization and the call's workspace, newest first; it needs no specific resource scope — but the token needs reach (any inbox/… scope or all) — and a machine token (no person) has none. The approval link, its token and the stored card are never returned. See List operation approvals and Get operation approval in the API Reference.

CommandHTTPDescription
operation-approvals listGET /operation-approvalsList operation approvals. Filters: status, created_after, created_before. Page-based (page, per_page).
operation-approvals getGET /operation-approvals/{id}Get operation approval — status, title, dates and outcome. Another person's id answers 404.

Examples​

# Pending approvals
kobana inbox operation-approvals list \
--params '{"status": "pending"}' \
--fields "id,title,status,requested_at,expires_at"

# Read the outcome of one
kobana inbox operation-approvals get \
--params '{"id": "APPROVAL_ID"}' \
--fields "id,status,executed_at,error,result"

status is one of pending, approved, executed, failed, declined and expired (a pending approval past expires_at counts as expired).

Next steps​

  • Me — the person whose approvals these are.
  • System events — what the approved operation did.