Create an async metadata-only audit evidence export job.
POST /v1/audit/exports
Uses the same filters as audit search. Actor identity is derived from auth context; clients must not send actor_id. Every accepted export request is audited by export_id and filters hash, not raw rows.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Optional request-chain filter.
object
Required for exports over 30 days or above the configured large-export row threshold.
Responses
Section titled “ Responses ”Export job accepted. The job may already be completed for small local exports.
object
object
Metadata-only export filters. Raw payloads, bodies, prompts, tokens, and secrets are never present.
object
Hash for the exported rowset recorded in the manifest; the job sha256 verifies the downloaded artifact bytes.
Invalid filters
Caller lacks audit.read for the scoped tenant/environment.
Export exceeds configured max row count.
Actor exceeded audit export rate limit.
Type set in Geist, Source Serif 4, and Departure Mono.