/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
UUID uniquely identifying this log entry.
UUID of the agent that made the authorization request.
The action type recorded. For authorization decisions this is always
"authorize".The tool name that was evaluated.
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.The authorization outcome. One of
"allowed" or "denied".UUID of the policy that produced this decision.
null when the default-deny rule applied.Human-readable explanation of the decision.
Time in milliseconds from when the request was received to when the decision was produced.
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.Filter by agent UUID.
Filter by action type (e.g.
"authorize").Filter by exact tool name.
Filter by outcome. One of
"allowed" or "denied".Start of the time range. ISO 8601 datetime string.
End of the time range. ISO 8601 datetime string.
Maximum number of entries to return. Must be between 1 and 1,000.
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.Filter by agent UUID.
Filter by action type.
Filter by exact tool name.
Filter by outcome. One of
"allowed" or "denied".Start of the time range. ISO 8601 datetime string.
End of the time range. ISO 8601 datetime string.
| Header | Description |
|---|---|
Content-Type | text/csv |
Content-Disposition | attachment; filename="veto-audit-log-<date>.csv" |
X-Veto-Export-Truncated | "true" if the result set was truncated to the 5,000-row limit |
X-Veto-Export-Limit | "5000" — present when X-Veto-Export-Truncated is set |
X-Veto-Export-Truncated: true is present, narrow your query using from and to filters to retrieve the full dataset across multiple exports.