> ## Documentation Index
> Fetch the complete documentation index at: https://docs.navige.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Check what your calls are subject to

> Find out, with the agent's own key, whether its guardrails and cost levers really act.

Returns what calls made with this key are subject to: whether guardrails and approvals stop calls, whether the cost levers act, and whether shadow mode is on. The answer is about the key's own organisation and nothing else. It is the same `capabilities` object a provisioning key reads from `GET /api/provisioning/state`; [Provisioning](https://docs.navige.ai/reference/provisioning.md#what-your-calls-are-subject-to) explains when to read it.

> [!NOTE]
>
> 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.

Read it when you decide how much an agent may do, not once at setup. An admin grant can be revoked or can expire, and the answer changes when it does.

## Status codes

`200` with the fields described below. If Navige cannot read your organisation's settings, the answer is `503` with `{ "error": "organisation settings could not be read" }`. Do not read a `503` as guardrails enforcing. A key that is missing or not valid gets `401`, and an agent that is inactive or expired gets `403`.

A call to [Ask for a decision](https://docs.navige.ai/reference/enforce.md) made with `onBehalfOf` gets the real guardrail verdict whenever `shadowMode` is `false`, whatever `guardrailsAdvisory` says.

```bash cURL theme={null}
curl https://api.navige.ai/v1/capabilities \
  -H "x-navige-key: $NAVIGE_KEY"
```

```powershell PowerShell theme={null}
Invoke-RestMethod -Uri https://api.navige.ai/v1/capabilities `
  -Headers @{ "x-navige-key" = $env:NAVIGE_KEY }
```

```python Python theme={null}
import os, requests

r = requests.get(
    "https://api.navige.ai/v1/capabilities",
    headers={"x-navige-key": os.environ["NAVIGE_KEY"]},
)
print(r.json()["capabilities"]["guardrailsAdvisory"])
```

```json Watchtower theme={null}
{
  "capabilities": {
    "tier": "shadow",
    "governanceEnforces": false,
    "leversAct": false,
    "safetyEnforces": true,
    "shadowMode": false,
    "guardrailsAdvisory": true
  }
}
```

```json Paid theme={null}
{
  "capabilities": {
    "tier": "paid",
    "governanceEnforces": true,
    "leversAct": true,
    "safetyEnforces": true,
    "shadowMode": false,
    "guardrailsAdvisory": false
  }
}
```

```json Granted pilot theme={null}
{
  "capabilities": {
    "tier": "shadow",
    "governanceEnforces": true,
    "leversAct": true,
    "safetyEnforces": true,
    "shadowMode": false,
    "guardrailsAdvisory": false
  }
}
```

```json Settings unreadable theme={null}
{ "error": "organisation settings could not be read" }
```


## OpenAPI

````yaml GET /v1/capabilities
openapi: 3.1.0
info:
  title: Navige API
  version: 1.0.0
  description: >-
    The gateway's public API: ask for a decision before an agent acts, report
    usage and outcomes, and read what a task usually costs.
servers:
  - url: https://api.navige.ai
security:
  - navigeKey: []
  - bearer: []
tags:
  - name: Decisions
    description: Ask before an agent acts, and read what applies to your calls.
  - name: Usage and tasks
    description: Report what happened, and read what a task costs.
paths:
  /v1/capabilities:
    get:
      tags:
        - Decisions
      summary: Check what your calls are subject to
      description: >-
        Read whether guardrails, approvals and cost levers act for your key's
        workspace. Decide from `guardrailsAdvisory`, not from `tier`.
      operationId: checkCapabilities
      responses:
        '200':
          description: What applies to this workspace now.
          content:
            application/json:
              schema:
                type: object
                required:
                  - capabilities
                additionalProperties: false
                properties:
                  capabilities:
                    type: object
                    required:
                      - tier
                      - governanceEnforces
                      - leversAct
                      - safetyEnforces
                      - shadowMode
                      - guardrailsAdvisory
                    additionalProperties: false
                    properties:
                      guardrailsAdvisory:
                        type: boolean
                        description: >-
                          The field to act on. true when guardrails and
                          approvals are decided and recorded but do not stop
                          calls: shadow mode is on, or `governanceEnforces` is
                          false.
                      governanceEnforces:
                        type: boolean
                        description: Guardrails and approvals really stop calls.
                      leversAct:
                        type: boolean
                        description: >-
                          The cost levers may change a call, on routes that
                          carry the call and not in shadow mode.
                      safetyEnforces:
                        type: boolean
                        description: >-
                          The kill switch and the hard spend cap act. true on
                          every tier.
                      shadowMode:
                        type: boolean
                        description: >-
                          The workspace's own shadow mode setting. While on,
                          nothing is stopped.
                      tier:
                        type: string
                        enum:
                          - shadow
                          - paid
                        description: >-
                          What the workspace is billed as: `shadow` is
                          Watchtower, the free tier.
        '401':
          description: The key is missing (`missing`) or not valid (`invalid_key`).
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                additionalProperties: false
                properties:
                  error:
                    type: string
                    description: What was wrong, in words.
        '403':
          description: >-
            The key's agent is inactive (`agent_inactive`) or expired
            (`agent_expired`).
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                additionalProperties: false
                properties:
                  error:
                    type: string
                    description: What was wrong, in words.
        '503':
          description: >-
            Navige could not read the organisation's settings. Do not read it as
            guardrails enforcing.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                additionalProperties: false
                properties:
                  error:
                    type: string
                    description: What was wrong, in words.
components:
  securitySchemes:
    navigeKey:
      type: apiKey
      in: header
      name: x-navige-key
      description: >-
        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.
      x-default: nv_docs_demo_nuJM-1NFjNqDKAeGoZ5-QaAfFAdVXv79
    bearer:
      type: http
      scheme: bearer
      description: >-
        The same key as `Authorization: Bearer <key>`. Used only when
        `x-navige-key` is absent.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.