Skip to main content

Retrieve Audit Log

GET 

/v1/audit_logs/:id

Retrieve a single audit log entry by its UUID. For active entries, metadata.subject_changes carries the before / after values of the changed attributes (sensitive fields filtered).

Required permission: audit_logs_read.

Request

Path Parameters

    id uuidrequired

    Audit log UUID.

Responses

The audit log entry.

Schema

    id uuidrequired

    A 36-character UUIDv7 identifier.

    performer_type string

    Possible values: [AcquirerUser, MerchantUser, StaffUser, ApiKey, AcquirerApiKey]

    performer

    object

    nullable

    Brief view of the acting user / API key (id, email when applicable).

    id uuid

    A 36-character UUIDv7 identifier.

    email stringnullable
    organization_type stringnullable

    Possible values: [Acquirer, Merchant, null]

    organization

    object

    nullable

    Brief view of the owning organization.

    id uuid

    A 36-character UUIDv7 identifier.

    name string
    merchant_id stringnullable
    subject_type stringnullable

    Model name of the resource acted upon.

    subject_id uuid

    A 36-character UUIDv7 identifier.

    login_session_id uuid

    A 36-character UUIDv7 identifier.

    action stringrequired

    Controller action name.

    action_type stringrequired

    Possible values: [active, passive]

    description string
    metadata object

    Request context — request_path, request_payload, user_agent, ip_info, and for active entries subject_changes (before / after values, sensitive fields filtered).

    created_at date-timerequired

    ISO 8601 UTC timestamp with time zone designator.

Loading...