Approvals API

Reference for the 7 Approvals operations in the Intuidy API.

Updated in Intuidy 2026.11.2114 min read

Responses are JSON. A successful response is { "success": true, "data": …, "meta": … }, and each operation below documents its data. Errors use the error envelope described in Errors, pagination and limits.

OperationMethod and pathAuthorization
The approvals inboxGET /approvalsapprovals:read
One held action, args includedGET /approvals/actions/{actionId}approvals:read
Release, reject or triage a held actionPOST /approvals/actions/{actionId}approvals:write
Resume or reject a hibernated team missionPOST /approvals/runs/{jobId}approvals:write
The key owner's standing tool grantsGET /approvals/grantsapprovals:read
Grant a tool "always allow"POST /approvals/grantsapprovals:write
Revoke a standing grantDELETE /approvals/grantsapprovals:write

The approvals inbox

GET /approvals

Two kinds of things wait for a human here: held_actions — single tool calls the policy gate denied in a non-interactive run because a data-governance rule demanded a human — and held_runs — hibernated team missions waiting on human input, each carrying its hitl_request.

Held actions are listed in the REDACTED shape: args_preview only. The full args live behind GET /approvals/actions/{actionId}, the informed-approval detail — read it before you approve.

A key owner without manage_ai_org_snippets still sees other users' holds, but each one comes back with args_preview: {} and args_redacted: true. The owner's own holds are not redacted.

held_runs lists the key owner's own paused missions, or the whole company's when the owner holds manage_ai_org_snippets (the same bar that resuming another user's mission requires).

Authorization: scope approvals:read.

Query parameters

NameTypeRequiredDescription
status"held" or "releasing" or "released" or "rejected" or "failed" or "expired" or "decided" or "all"NoHeld-actions filter (held_runs are always current). decided is the decision history, every settled action, including decisions made in a chat or on a dashboard.
agent_idintegerNo—
triage"exception" or "reusable" or "system_gap"NoOnly settled decisions filed under this triage bin (use with status=all or a settled status)
limitintegerNo—
offsetintegerNo—

Response 200 OK

data fields:

FieldTypeDescription
held_actionsarray of HeldAction—
held_runsarray of object—
held_runs[].job_idinteger—
held_runs[].team_idinteger—
held_runs[].titlestring or null—
held_runs[].hitl_requestobject or null—
held_runs[].held_atstring (date-time) or null—
countsobject—
counts.held_actionsinteger—
counts.held_runsinteger—

Errors 400, 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/approvals" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

One held action, args included

GET /approvals/actions/{actionId}

Deliberately the ONLY place the raw held args are readable: approving a call is only meaningful when the approver saw exactly what it will do, and a list is not where anyone reads carefully. Read this before you POST approve.

Authorization: scope approvals:read.

Path parameters

NameTypeRequiredDescription
actionIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
held_actionHeldActionDetail—

Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/approvals/actions/<actionId>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Release, reject or triage a held action

POST /approvals/actions/{actionId}

{ action: "approve", reason?, args? } RELEASES the hold: the held call executes immediately, as the key's user — this is the previously denied write actually going out, marked approved the same way as an approval in the web app. Send args (the complete argument object, not a patch) to run the call with edited arguments in place of the proposed ones: today's data rules are applied to the edit, the proposal stays readable as args, and what ran is edited_args with changed_keys. An edit is a new tool call, so the key also needs agents:execute (the scope that starts an agent run); without it the request returns 403 INSUFFICIENT_SCOPE and runs nothing. Omit args to approve the call as proposed with approvals:write alone. { action: "reject", reason? } settles it without executing. { action: "triage", bin, note? } files a SETTLED action under exception (a one-off, kept as context; teaches nothing), reusable (a decision that should hold next time: one lesson is written into the agent's memory and shown to the agent beside that tool on its later runs) or system_gap (the ontology, a constraint or a workflow should change: the note, or else the decision reason, goes to the Learned knowledge review queue as a pending fact). It runs nothing. A later triage replaces the earlier one and withdraws what it wrote; learning in the response says what happened.

Releasing a hold that belongs to a DIFFERENT user is an org-governance act — allowed only when the key owner holds manage_ai_org_snippets; releasing your own is not.

Authorization: scope approvals:write. Approving with edited args also needs agents:execute, the scope that starts an agent run, because an edit is a new tool call. Approving the call as proposed, rejecting and triaging need approvals:write only.

Path parameters

NameTypeRequiredDescription
actionIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
action"approve" or "reject" or "triage"Yes—
reasonstringNoWhy the action is approved or rejected. Kept with the decision.
argsobjectNoapprove only. The complete arguments to run in place of the proposed ones. Needs agents:execute as well as approvals:write.
bin"exception" or "reusable" or "system_gap"Notriage only (required there)
notestringNotriage only. What was learned. For system_gap, what should change; it becomes the fact a person reviews.

Response 200 OK

data fields:

FieldTypeDescription
held_actionobject—
held_action.idinteger—
held_action.toolstring or null—
held_action.status"released" or "rejected" or "failed" or "expired"released or failed after an approve, rejected after a reject, and the settled status a triage filed
held_action.result_statusstringapprove only. ok when the call succeeded, error when it failed.
held_action.summarystringapprove only. A short, credential-masked summary of what the call returned.
held_action.editedbooleanapprove only. Whether the call ran with edited arguments.
held_action.changed_keysarray of string or nullapprove only. The top-level argument keys the edit changed; null when the call was not edited.
held_action.triageobjecttriage only. How the decision is now filed.
held_action.learningDecisionLearning—

Errors 400, 402, 403 (INSUFFICIENT_SCOPE), 404, 409, 422. See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/approvals/actions/<actionId>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action":"<action>"}'

Resume or reject a hibernated team mission

POST /approvals/runs/{jobId}

{ action: "approve", input } re-enters the team orchestration with the human response the mission's hitl_request asked for (read it via GET /approvals first), fires it DETACHED, and answers with the job id and a poll_url on the standard run-status endpoint. { action: "reject", reason? } settles the mission failed with a note saying who declined; nothing resumes.

Resuming a mission that belongs to a DIFFERENT user is organization governance, same rule as releasing another user's held action: the key owner must hold manage_ai_org_snippets.

Authorization: scope approvals:write.

Path parameters

NameTypeRequiredDescription
jobIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
action"approve" or "reject"Yes—
inputstringNoThe human response the mission asked for (approve)
reasonstringNo—

Response 200 OK

Errors 400, 402, 403 (INSUFFICIENT_SCOPE), 404, 409. See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/approvals/runs/<jobId>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action":"<action>"}'

The key owner's standing tool grants

GET /approvals/grants

The "always allow" grants — tool, agent scope, expiry, provenance. SELF-ONLY BY CONSTRUCTION: every read and write here targets the key's owner. The approval policy is stored per user, and a user-delegated key managing that user's own grants is the user acting. There is deliberately no way to name another user.

Authorization: scope approvals:read.

Response 200 OK

data fields:

FieldTypeDescription
grantsarray of object—

Errors 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/approvals/grants" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Grant a tool "always allow"

POST /approvals/grants

Grants are stamped source api, so the Approvals UI shows exactly which access method granted them. agent_id scopes the grant to one agent; omitted, it applies across all agents.

Authorization: scope approvals:write.

Request body (application/json)

FieldTypeRequiredDescription
tool_namestringYes—
agent_idintegerNo—
expires_in_daysintegerNo—

Response 200 OK

Errors 400, 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/approvals/grants" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool_name":"<tool_name>"}'

Revoke a standing grant

DELETE /approvals/grants

?tool_name=<name> alone revokes the tool in EVERY scope (the historical revoke); &agent_id=<n> revokes that agent's grant only; &agent_id=global revokes only the all-agents grant.

Authorization: scope approvals:write.

Query parameters

NameTypeRequiredDescription
tool_namestringYes—
agent_idstringNoA positive integer, or the literal global

Response 200 OK

Errors 400, 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X DELETE "https://vantage.intuidy.com/api/v1/approvals/grants" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Objects

DecisionLearning

What a triage taught. Present on triage responses only.

FieldTypeDescription
lesson"written" or "withdrawn" or "skipped" or "failed" or null or nullThe lesson in the agent's memory. skipped when the decision cannot teach an agent (a dashboard action, no agent, expired, or an agent the person it ran for cannot use). written also when that agent's lessons are turned off in Knowledge; the summary then says the agent will not see it.
fact"raised" or "exists" or "withdrawn" or "kept" or "skipped" or "failed" or null or nullThe pending fact in Learned knowledge. skipped when a system gap has neither a note nor a decision reason; kept when an earlier fact was already reviewed.
summarystring or nullOne sentence per effect, for the person who filed it

HeldAction

The LIST view of a held action — args as a redacted per-key preview only. The full raw args are deliberately reachable only through GET /approvals/actions/{actionId}, the informed-approval detail.

FieldTypeDescription
idinteger—
toolstring or null—
status"held" or "releasing" or "released" or "rejected" or "failed" or "expired"releasing while an approved call runs
reasonstring or null—
agent_idinteger or null—
user_idinteger or null—
destructiveboolean—
actor_typestring or null—
source_job_idinteger or null—
args_previewobjectKey names with values truncated to 120 chars — a glimpse, not the call
args_sha256string or null—
args_redactedbooleanPresent and true when the hold belongs to another user and the viewer lacks manage_ai_org_snippets; args_preview is then empty
held_atstring (date-time) or null—
deadlinestring (date-time) or null—
expiredboolean—
kind"held" or "chat" or "dashboard"Where it was decided. held waited in the inbox; chat and dashboard were decided where they were raised and are listed already settled.
has_reasoningbooleanWhether the agent gave a rationale with the call. The text is on the detail.
decided_byinteger or nullThe user who approved or rejected it
decided_atstring (date-time) or null—
decision_reasonstring or nullThe reviewer's note on the approval or rejection. Withheld (null) on another user's hold when args_redacted is true.
editedbooleanWhether the reviewer approved it with edited arguments
changed_keysarray of stringThe top-level argument keys the reviewer changed
triageobject or nullHow the settled decision was filed, or null when it has not been
triage.bin"exception" or "reusable" or "system_gap"—
triage.labelstring—
triage.notestring—
triage.byinteger or null—
triage.atstring (date-time) or null—

HeldActionDetail

Everything in the list view PLUS the raw args and any settle result.

FieldTypeDescription
idinteger—
toolstring or null—
status"held" or "releasing" or "released" or "rejected" or "failed" or "expired"releasing while an approved call runs
reasonstring or null—
agent_idinteger or null—
user_idinteger or null—
destructiveboolean—
actor_typestring or null—
source_job_idinteger or null—
args_previewobjectKey names with values truncated to 120 chars — a glimpse, not the call
args_sha256string or null—
args_redactedbooleanPresent and true when the hold belongs to another user and the viewer lacks manage_ai_org_snippets; args_preview is then empty
held_atstring (date-time) or null—
deadlinestring (date-time) or null—
expiredboolean—
kind"held" or "chat" or "dashboard"Where it was decided. held waited in the inbox; chat and dashboard were decided where they were raised and are listed already settled.
has_reasoningbooleanWhether the agent gave a rationale with the call. The text is on the detail.
decided_byinteger or nullThe user who approved or rejected it
decided_atstring (date-time) or null—
decision_reasonstring or nullThe reviewer's note on the approval or rejection. Withheld (null) on another user's hold when args_redacted is true.
editedbooleanWhether the reviewer approved it with edited arguments
changed_keysarray of stringThe top-level argument keys the reviewer changed
triageobject or nullHow the settled decision was filed, or null when it has not been
triage.bin"exception" or "reusable" or "system_gap"—
triage.labelstring—
triage.notestring—
triage.byinteger or null—
triage.atstring (date-time) or null—
argsobjectThe held call's full arguments as PROPOSED — read them before you approve
reasoningstring or nullWhat the agent said when it made the call, when it said anything
edited_argsobject or nullThe arguments that ran, when the reviewer edited the proposal before approving
resultobject or nullThe settle result, present once released/rejected