Skip to main content
POST
Navige decides before your agent acts and records the decision. It never sees what happens next, so your code must act on the answer. Decision API explains how to handle each answer.
The key field is filled with a public demo key, so you can send a request without signing up. It reaches a shared demo workspace that resets every night, so do not send anything private. To call your own workspace, replace it with your key from Agents in the console.

Status codes

200 for allow, deny, pending, approved, rejected and expired: a refusal is a normal answer, not an HTTP error. error comes back with 400 when your request is wrong, or 503 with "unavailable": true when Navige could not decide. A body without a string tool gets 400 with { "error": "body must include a string `tool` field" }. A key that is missing or not valid gets 401, and an agent that is inactive or expired gets 403.

Authorizations

x-navige-key
string
header
default:nv_docs_demo_nuJM-1NFjNqDKAeGoZ5-QaAfFAdVXv79
required

Your agent's Navige key, from Agents in the console. The docs fill in a public demo key that reaches a shared demo workspace, reset every night; paste your own to call your workspace.

Headers

x-navige-client
string

Which app on a computer connected with navige connect is calling. The call lands on that app's own agent. You rarely send it by hand.

Body

application/json
tool
string
required

What the agent wants to do. Up to 200 characters; longer is rejected, not truncated.

Maximum string length: 200
Example:

"issue_refund"

system
string

Which system it acts on, such as stripe or salesforce. Lets one policy cover a tool name that exists in several places. Defaults to External.

Maximum string length: 200
Example:

"stripe"

classification
enum<string>

Used the first time Navige sees this tool; after that, the classification Navige has stored for the tool applies. Any other value is ignored.

Available options:
read,
write,
destructive,
financial,
unknown
Example:

"financial"

arguments
object

What the tool would be called with. Policies can read these. Secrets are redacted before anything is stored.

Example:
transaction
object

The business task this call belongs to.

Example:
workflow
object

Tags the call for the workflow view. Without transaction, key and runId also become the task's workflow and reference, so per-workflow budgets apply to the call.

wait
boolean
default:true

With true, a call that needs a person's approval waits up to five minutes for it. Send false to get pending at once and poll Check a held decision.

Example:

false

onBehalfOf
object

The person the agent is acting for: { "memberId": "…" }, or an identity a workspace admin linked in Settings → Members, such as { "provider": "lark", "externalId": "ou_…" }. With it, guardrail verdicts are real on every plan unless shadow mode is on, and a person Navige cannot establish is refused. A malformed value is refused with 400.

Response

A decision. Do not treat decision as a boolean.

decision
enum<string>
required
Available options:
allow,
deny,
pending,
approved,
rejected,
expired
reason
string

Why, in words you can show a person.

code
enum<string>

Why, as a value your code can branch on. The last three appear only with onBehalfOf.

Available options:
policy,
kill_switch,
spend_cap,
unknown_requester,
inactive_requester,
requester_unavailable
transactionId
string<uuid>

The task this call joined. Use it to report the outcome.

approvalId
string<uuid>

With pending: the approval to poll.

expiresAt
string<date-time>

With pending: when the approval expires.

decidedBy
object

Who settled the approval. console when a member decided in the console. link when the decision came from an approve or deny link in an email or Slack message: the links need no sign-in, so memberId is null.

enforced
enum<boolean>

false on an allow that was not enforced: on Watchtower or in shadow mode, a guardrail's verdict is recorded and the call is allowed. In shadow mode the kill switch and spend cap answer this way too.

Available options:
false
wouldHaveBeen
enum<string>

With "enforced": false: what Navige would have answered.

Available options:
deny,
pending
requester
object

With onBehalfOf: who Navige took the person to be. Never what they may do.