Skip to main content
Upstash Documentation

List Audit Logs

This endpoint lists all audit logs of user.
1 min read
get/auditlogs
Request example
Response
get/auditlogs

Authorization

Authorizationstringheaderrequired#
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded username:password.

Responses

application/json
200
Audit logs retrieved successfully
log_idstring#
Unique identifier for the log entry
customer_idstring#
The ID or email of the customer associated with the log
actorstring#
The user or system that performed the action
timestampinteger#
Unix timestamp of when the action occurred
actioninteger#
Numeric ID representing the specific action type
action_stringstring#
Human-readable description of the action
sourcestring#
The source method or client used to perform the action
entitystring#
The primary entity affected by the action
secondary_entitystring#
A secondary entity affected, "" or "NA" if not applicable
third_entitystring#
A tertiary entity affected, "" or "NA" if not applicable
readable_formatstring#
formatted string for display purposes
ipstring#
The IP address from which the request originated
ttlinteger#
Time to live (expiration) timestamp for this log entry
reasonstring#
The reason for the action, if provided
notesstring#
Additional notes regarding the action