Skip to content
Docs

    Audit Logs

    Get Audit Log
    $ nirvana audit-logs get
    GET/v1/audit_logs/{audit_log_id}
    List Audit Logs
    $ nirvana audit-logs list
    GET/v1/audit_logs
    ModelsExpand Collapse
    audit_log: object { id, action, actor, 7 more }

    Audit log entry.

    id: string

    Unique identifier for the audit log entry.

    action: string

    The action that was performed.

    actor: object { id, name, type }

    The entity that performed the action.

    id: string

    Unique identifier for the actor.

    name: string

    Display name of the actor.

    type: "user" or "api_key"

    Type of actor.

    "user"
    "api_key"
    client_ip: string

    Client IP address.

    created_at: string

    When the action occurred.

    method: string

    HTTP method of the request.

    path: string

    Request path.

    status_code: number

    HTTP status code of the response.

    user_agent: string

    User agent string.

    target: optional object { id, type }

    The target resource of the action.

    id: string

    Unique identifier for the target resource.

    type: string

    Type of the target resource.

    audit_log_actor: object { id, name, type }

    The entity that performed the action.

    id: string

    Unique identifier for the actor.

    name: string

    Display name of the actor.

    type: "user" or "api_key"

    Type of actor.

    "user"
    "api_key"
    audit_log_list: object { items, pagination }
    items: array of AuditLog { id, action, actor, 7 more }
    id: string

    Unique identifier for the audit log entry.

    action: string

    The action that was performed.

    actor: object { id, name, type }

    The entity that performed the action.

    id: string

    Unique identifier for the actor.

    name: string

    Display name of the actor.

    type: "user" or "api_key"

    Type of actor.

    "user"
    "api_key"
    client_ip: string

    Client IP address.

    created_at: string

    When the action occurred.

    method: string

    HTTP method of the request.

    path: string

    Request path.

    status_code: number

    HTTP status code of the response.

    user_agent: string

    User agent string.

    target: optional object { id, type }

    The target resource of the action.

    id: string

    Unique identifier for the target resource.

    type: string

    Type of the target resource.

    audit_log_target: object { id, type }

    The target resource of the action.

    id: string

    Unique identifier for the target resource.

    type: string

    Type of the target resource.

    audit_log_type: "user" or "api_key"

    Type of actor.

    "user"
    "api_key"