Score a tool call
Inspect an outbound agent tool call, score its risk, apply your policies, and return a decision. Requires the gateway:write scope. When a require_approval policy fires the decision is hold and an approvalId is returned. Poll GET /api/gateway/approvals/{approvalId} for the resolution.
post/api/v1/gateway/tool-call
Request
- Base URL: https://app.axiorank.com
- URL: https://app.axiorank.com/api/v1/gateway/tool-call
- Auth: HTTP bearer
Headers
Idempotency-Keystring
Optional. Safely retry a write: the first response for a given key is replayed on retries (24h TTL). A concurrent retry gets 409; reusing a key with a different body gets 422.
Request body
Response
The governance decision.
Example response
{
"signals": [
{
"detector": "secret.aws_access_key",
"location": "body.env.AWS_SECRET"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.