audit-logs

Get an audit log entry by ID

get/admin/v1/audit-logs/{id}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/v1/audit-logs/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Audit log entry ID

Response

Audit log entry found

actionstring required

The action performed (e.g., "api_key.create", "user.update")

actor_idstring uuid nullable

ID of the actor (user_id or api_key_id, None for system)

actor_type'user' | 'api_key' | 'service_account' | 'external_user' | 'system' required

Type of actor that performed an action

detailsunknown required
idstring uuid required

Unique identifier for this audit log entry

ip_addressstring nullable

Client IP address

org_idstring uuid nullable

Organization context (if applicable)

project_idstring uuid nullable

Project context (if applicable)

resource_idstring uuid required

ID of the affected resource

resource_typestring required

Type of resource affected (e.g., "api_key", "user", "organization")

timestampstring date-time required

When the action occurred

user_agentstring nullable

Client user agent

Changes

No recorded changes to this operation across all 16 revisions of this API.