Audit API
Query and export account or workspace activity (audit) logs.
Activity Log in the portal reads these endpoints. Events cover membership changes, secret reveals, auth changes, and other control-plane actions.
See also: Customer Portal — Activity Log
Account audit
GET /v1/accounts/{account_id}/audit?limit=50&offset=0Optional from / to (ISO-8601).
Permission: read on account
Workspace audit
GET /v1/workspaces/{workspace_id}/audit?limit=50&offset=0Permission: read on workspace
Export
POST /v1/audit/exportBody: scope_type (account|workspace), scope_id, format (csv|json), optional from_dt / to_dt.
Streams the export. Permission: read on the requested scope.
Related
- Process Log API — runtime logs, not audit
- Workspace auth API — auth config changes appear in audit