Export AI audit records as JSON Lines
GET
/api/v3/organizations/{organisation}/ai/audit/export
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/example/ai/audit/export?startDate=2026-04-15&endDate=2026-04-15';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation machine name
Query Parameters
Section titled “Query Parameters”startDate
required
string format: date
endDate
required
string format: date
userId
string
modelId
string
recordType
string
decision
string
tool
string
outcome
string
Responses
Section titled “Responses”JSON Lines.
Media typeapplication/x-ndjson
string
Examplegenerated
exampleInvalid 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.
