Install
Wrap a client
Verify intent tokens
When Inviolet approves a call, the response includes the issued token in the metadata. Downstream code can verify it:Configuration
| Option | Default | Description |
|---|---|---|
apiKey | (required) | Your Inviolet API key |
endpoint | https://gateway.inviolet.ai | Override for self-hosted gateways |
timeout | 30000 | Request timeout in ms |
retry | { retries: 2 } | Retry config for transient failures |
Read next
- Python SDK for the Python equivalent
- REST API if you’d rather hit the HTTP API directly