/v1/authorize produces an audit log entry, regardless of the outcome. The audit log is append-only and scoped to your workspace.
Audit log entries cannot be deleted via the API. The log is append-only to preserve a complete, tamper-evident record of authorization decisions.
The audit log entry object
string
UUID uniquely identifying this log entry.
string
UUID of the agent that made the authorization request.
string
The action type recorded. For authorization decisions this is always
"authorize".string
The tool name that was evaluated.
object
The parameters from the authorization request, with sensitive keys redacted to
"[REDACTED]". Redacted key names include: password, secret, token, key, credential, authorization, api_key, apiKey, access_token, refresh_token.string
The authorization outcome. One of
"allowed" or "denied".string | null
UUID of the policy that produced this decision.
null when the default-deny rule applied.string
Human-readable explanation of the decision.
number
Time in milliseconds from when the request was received to when the decision was produced.
string
ISO 8601 timestamp of when the authorization was evaluated.
GET /v1/audit-logs
Query audit logs with optional filters. Results are returned in reverse chronological order.Requires an API key with
admin scope.string
Filter by agent UUID.
string
Filter by action type (e.g.
"authorize").string
Filter by exact tool name.
string
Filter by outcome. One of
"allowed" or "denied".string
Start of the time range. ISO 8601 datetime string.
string
End of the time range. ISO 8601 datetime string.
number
default:"100"
Maximum number of entries to return. Must be between 1 and 1,000.
number
default:"0"
Number of entries to skip.
GET /v1/audit-logs/export
Export audit logs as a CSV file. Accepts the same filter parameters asGET /v1/audit-logs (without limit and offset) and exports up to 5,000 rows.
Requires an API key with
admin scope.string
Filter by agent UUID.
string
Filter by action type.
string
Filter by exact tool name.
string
Filter by outcome. One of
"allowed" or "denied".string
Start of the time range. ISO 8601 datetime string.
string
End of the time range. ISO 8601 datetime string.
If
X-Veto-Export-Truncated: true is present, narrow your query using from and to filters to retrieve the full dataset across multiple exports.