Export diagnostic logs.
curl --request GET \ --url 'https://auth.example.com/api/admin/diagnostic-logging/export?tenantId=example&format=json&includeStats=false&sortMode=session&exportMode=full' \ --header 'Authorization: Bearer <token>'Export Diagnostic Logging in the Diagnostic Logging area. Use this operation to retrieve diagnostic logging data without mutating tenant state.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Tenant selector for multi-tenant admin requests.
Query Parameters
Section titled “Query Parameters ”Tenant whose diagnostic logs are exported.
Comma-separated client identifiers.
Inclusive ISO 8601 or Unix timestamp lower bound.
Inclusive ISO 8601 or Unix timestamp upper bound.
Comma-separated diagnostic session identifiers.
Comma-separated Authrim authentication flow identifiers. Use this filter to isolate a single RP conformance test without relying on timestamps alone.
Comma-separated diagnostic log categories.
Privacy mode may only make stored data more restrictive.
Responses
Section titled “ Responses ”Diagnostic log export response. JSON is returned by default; JSONL and text exports are returned as downloadable files when requested by query parameter.
object
object
object
Example
{ "logs": [ { "timestamp": 1770000000000, "category": "token-validation", "tenantId": "default", "outcome": "success" } ], "statistics": { "total": 1 }}Example generated
example