Skip to content

Export AI audit records as JSON Lines

GET
/api/v3/organizations/{organisation}/ai/audit/export
curl --request GET \
--url 'https://dashboard.quantcdn.io/api/v3/organizations/example/ai/audit/export?startDate=2026-04-15&endDate=2026-04-15' \
--header 'Authorization: Bearer <token>'

Every record of the range that matches the filters (the filters of aiAuditRecordsList), one JSON object per line (the row: key, date, summary, record). At most 100 pages of 200 records; a longer export ends with an error line. A failed page ends the file with an error line. Each page read is recorded in the audit log (action export). Needs view_ai_audit and, for a scoped token, ai:audit:read. Limit: 10 requests per minute.

organisation
required
string

The organisation machine name

startDate
required
string format: date
endDate
required
string format: date
userId
string
<= 256 characters
modelId
string
<= 256 characters
recordType
string
<= 256 characters
decision
string
<= 256 characters
tool
string
<= 256 characters
outcome
string
<= 256 characters

JSON Lines.

Media typeapplication/x-ndjson
string
Examplegenerated
example

Invalid range.

Media typeapplication/json
object
message
required

Error message

string
error
required

Error flag

boolean
error
required
string
code
string
retryable
boolean
Example
{
"message": "The requested resource was not found",
"error": true,
"code": "UNAVAILABLE"
}

PERMISSION_DENIED or SCOPE_REQUIRED

Too many exports. See Retry-After.