Audit Export
Export your audit log for compliance and analysis.
Formats
Events can be exported as CSV or JSON.
How to Export
Click the CSV or JSON export buttons on your app's Requests page. Default is 30 days.
Dashboard export URL
GET /dashboard/apps/:app_id/export?format=json&days=30
This URL is accessible from a logged-in browser session only — it is not callable with a Bearer token from server-side code. For automated export, download the file manually from the dashboard and process it in your pipeline.
Exported fields
| Field | Description |
|---|---|
| id | Unique event ID |
| type | Event type (ai.request, ai.response, etc.) |
| inserted_at | ISO 8601 timestamp (UTC) |
| environment | development, staging, or production |
| provider | AI provider (openai, anthropic, etc.) |
| model | Model name used |
| request_id | Groups request/response/error events together |
| decision | allow, warn, or block |
| prompt_tokens | Input token count |
| completion_tokens | Output token count |
| cost_usd | Estimated cost in USD |
| violations | JSON array of rule violations (if any) |
| metadata | JSON object of custom metadata you submitted |