Skip to content

Download authentication audit events as CSV

Request

Exports all authentication audit events matching the query as a CSV file.


Requires audits::read:user permission.

Security
JWTAuthorizer
Query
sTimestring

Start time (ISO 8601) to query from

eTimestring

End time (ISO 8601) to query to

sortstring

Sort field and direction, e.g. timestamp:desc

qstring

Free-text search query

ipsArray of strings

Filter by IP addresses

userIDsArray of strings

Filter by user IDs

fieldsArray of strings

CSV columns to include. When omitted, all columns are included.

curl -i -X GET \
  'https://apidocs.trustgrid.io/_mock/v2/audit/auth/download?sTime=string&eTime=string&sort=string&q=string&ips=string&userIDs=string&fields=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodytext/csv
string
Response
string