Skip to main content
GET
Export the audit log

Authorizations

Authorization
string
header
required

Your workspace API key, e.g. sk_sovereign_..., sent as Authorization: Bearer <key>.

Query Parameters

since
string

ISO-8601 datetime lower bound (inclusive) on the row timestamp. 400 if unparseable.

until
string

ISO-8601 datetime upper bound (inclusive). 400 if unparseable.

format
enum<string>

Output format.

Available options:
csv,
json
limit
integer

Max rows, positive integer; silently capped at 50000.

Response

format=json: { rows: [{ id, timestamp, event_type, category, status, actor_id, actor_email, actor_role, target_type, target_id, description, seq, prev_hash, row_hash }], truncated: boolean }. format=csv: text/csv attachment (Content-Disposition audit-.csv) with header row seq,timestamp,event_type,category,status,actor_id,actor_email,actor_role,target_type,target_id,description,prev_hash,row_hash,id; header X-Truncated: true when the limit cut the result.

The response is of type object.