Skip to main content
The Intent resource is the core of the Inviolet API. Every intent.evaluate call extracts the intent class, matches against published intentions, evaluates policy, and returns the access decision plus (when allowed) a short-lived grant.

Endpoints

Evaluate

Request:
Response (200):
Possible outcome values: allowed, denied, pending_approval, approved, shadow_denied. When outcome = pending_approval, the response includes approval_request_id for polling.

Node SDK example

POST /v1/intent/evaluate is the lightweight legacy policy path. For structural, credential-brokered enforcement, mint a mandate via POST /v1/mandate/dispense and guard the call via POST /v1/mcp-proxy/call.

History

Returns paginated events. Use next_cursor to walk forward.

Verify a token

Errors

401 missing/invalid API key · 400 invalid request body · 429 rate-limited · 5xx retryable.