Export audit log
GET /api/v1/audit/export
GET
/api/v1/audit/export
Downloads audit events as CSV or JSON for compliance review.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” format
string
Export format: csv or json (default json)
projectId
string
Filter by project ID
worktree
string
Filter by worktree ID
category
string
Filter by category (session, agent, prompt, config, budget, system, debug)
since
string
Filter entries after this timestamp (RFC3339)
until
string
Filter entries before this timestamp (RFC3339)
Responses
Section titled “ Responses ”OK
file
Internal Server Error
object
code
string
error
string