audit-logs

Export audit logs

Export all audit logs for the authenticated account as CSV or JSON (up to 180 day limit). Note: Use the format parameter to specify output format; only JSON schema is documented here.

get/1.3/audit-logs/export

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/audit-logs/export
  • Auth: HTTP bearer

Query parameters

format'csv' | 'json'

Export format

Example:csv

Export format: 'csv' or 'json' (default: csv)

Response

File download. Returns JSON array of audit logs when format=json, or CSV when format=csv.

Example response

{
  "audit_logs": []
}

Changes

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