https://app.navige.ai, not on the gateway host https://api.navige.ai that the rest of these docs use.
The provisioning credential
Provisioning uses its own credential, not an agent key. It starts withnvadm_, and an agent nv_ key is rejected. Two rules apply to it:
- The organisation comes from the credential. There is no
orgIdfield in any request body, so a provisioning key cannot create an agent anywhere but its own organisation. - It is accepted only on these routes. Presented to an ordinary customer endpoint, it does nothing. It is a separate kind of key with a separate purpose, not a more powerful agent key.
One agent
POST /api/provisioning/agents
A whole fleet
POST /api/provisioning/agents/bulk
Up to 100 agents in one call. The batch is deliberately not one transaction, so a single bad name in a hundred does not roll back the ninety-nine that worked. Otherwise the obvious reaction would be to retry the whole batch and create duplicates of everything that had already succeeded.
externalRef is echoed back on every result, created or failed. Use it to match a result to your own record without relying on array order.
Read the status code
201: every agent was created.207: some were created and some were not. Readresults.422: none were created.400: the batch was refused before anything was created: empty, over 100, or two items sharing a name.
Why names must be unique within a batch
A batch containing the same name twice is refused outright, before anything is created. Two agents with one name are indistinguishable afterwards, and since each key is shown once, there would be no way to work out which key belonged to which.If your organisation has an agent cap
Provisioning does not bypass the cap; it is a different way to authenticate. The cap is spent in order: a batch of fifty against ten remaining places creates ten and fails the other forty, each withagent limit N reached against its name. You keep the agents that fitted and the results show exactly which did not, so you do not have to work out the remainder yourself.
The apps on a computer connected with navige connect (Claude Code, Codex, Cursor, Copilot CLI and each desktop tool server) appear as agents of their own but do not count toward the cap. They are one connection split by app, not agents anyone chose to add.
Looking up members
Two read-only routes for a service acting for people, such as an assistant that receives messages in Lark. Both need a credential carrying themembers:read scope.
GET /api/provisioning/members
The organisation’s people: memberId, name, email, role (owner, admin or viewer) and whether they are active.
GET /api/provisioning/members/resolve?provider=lark&externalId=ou_…
Returns who an id in another system belongs to. The answer is { "status": "linked", "member": { … } } or { "status": "unlinked" }, both with status 200, so “we do not know this person” is never confused with an error.
Resolve returns who someone is and deliberately leaves out their role. What a person may ask an agent to do is decided per action, every time, so do not cache anything here as authority. Links are made by a workspace admin in Settings → Members; no credential and no agent can make one.
What your calls are subject to
GET /api/provisioning/state
Besides the organisation’s agents, policies and key prefixes, this returns capabilities: whether guardrails and approvals really stop calls (governanceEnforces), whether the cost levers act (leversAct), whether shadow mode is on, and guardrailsAdvisory, which is the field to act on. Needs state:read. tier says what is billed, not what is enforced: a free workspace can have enforcement granted without becoming a paid one.
Read it when you decide how much an agent may do, rather than once at setup. A grant can be revoked or can expire, and the answer here changes the moment it does. A call made with onBehalfOf is enforced whenever shadow mode is off, whatever guardrailsAdvisory says.
An agent can ask the same question with its own key, without a provisioning key: GET https://api.navige.ai/v1/capabilities with x-navige-key returns the same capabilities object about its own organisation and nothing else. A 503 means Navige could not read the settings. Do not read it as guardrails enforcing.
Losing a key
No endpoint returns an existing key. Keys are stored as a SHA-256 hash, so nobody at Navige can read one either. If a key is lost, create another:POST /api/agents/{id}/keys
An agent can hold several keys at once, which suits the same agent running on several machines: you can revoke one key without disturbing the others. Use /api/agents/{id}/rotate-key instead when you suspect a key has leaked rather than merely been mislaid.