post/orgs/{orgId}/audit-logs/export

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/orgs/{orgId}/audit-logs/export
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

orgIdstring required

Organization identifier

Request body

format'csv' | 'json'

Export format

startDatestring

ISO 8601 start date

endDatestring

ISO 8601 end date

actorType'API_KEY' | 'USER' | 'SYSTEM' | 'AGENT'

Filter by actor type

actionstring

Filter by action

resourceTypestring

Filter by resource type

querystring

Free-text search matched against action, actor id, resource type and resource id, as on the list endpoint.

Response

OK

datastring required

Exported data as string (CSV or JSON)

format'csv' | 'json' required

Format of the exported data

countinteger required

Number of records exported

Changes

No recorded changes to this operation across all 1 revision of this API.