intent.evaluate call extracts the intent class, matches against
published purposes, evaluates policy, and returns the access decision
plus (when allowed) a short-lived intent token.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /v1/intent/evaluate | Evaluate one tool call |
GET | /v1/intent/history | Page through recent evaluations |
POST | /v1/tokens/verify | Verify a previously issued intent token |
Evaluate
Request:200):
outcome values: allowed, denied, pending_approval,
approved, shadow_denied. When outcome = pending_approval, the
response includes approval_request_id for polling.
Node SDK example
History
next_cursor to walk forward.
Verify a token
Errors
401 missing/invalid API key · 400 invalid request body · 429
rate-limited · 5xx retryable.
Read next
- Purposes
- Webhooks
- Intent tokens — the JWT shape returned
on
outcome = allowed