Skip to content

Export audit log

GET
/api/v1/audit/export

Downloads audit events as CSV or JSON for compliance review.

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)

OK

file

Internal Server Error

object
code
string
Allowed values: INVALID_BODY INVALID_CONTAINER_ID INVALID_CONTAINER_NAME INVALID_WORKTREE_ID INVALID_WORKTREE_NAME REQUIRED_FIELD INVALID_PATH INVALID_NETWORK_CONFIG NOT_A_DIRECTORY NOT_FOUND NAME_TAKEN NOT_CONFIGURED STALE_MOUNTS BUDGET_EXCEEDED PROXY_ERROR INTERNAL
error
string