79928a3d37d3
Get Audit Logs
Get all audit logs with filtering and pagination.
Returns a paginated response of audit logs matching the specified filters.
Note: object_team_id and object_key_hash use Prisma JSON path filtering, which requires PostgreSQL.
Query parameters
Filter by user or system that performed the action
Filter by user or system that performed the action
Filter by API key hash that performed the action
Filter by API key hash that performed the action
Filter by action type (create, update, delete)
Filter by action type (create, update, delete)
Filter by table name that was modified
Filter by table name that was modified
Filter by ID of the object that was modified
Filter by ID of the object that was modified
Filter logs after this date
Filter logs after this date
Filter logs before this date
Filter logs before this date
Filter by team_id present in before_value or updated_values JSON (PostgreSQL only)
Filter by team_id present in before_value or updated_values JSON (PostgreSQL only)
Filter by token (key hash) present in before_value or updated_values JSON (PostgreSQL only)
Filter by token (key hash) present in before_value or updated_values JSON (PostgreSQL only)
Column to sort by (e.g. 'updated_at', 'action', 'table_name')
Column to sort by (e.g. 'updated_at', 'action', 'table_name')
Sort order ('asc' or 'desc')
Sort order ('asc' or 'desc')
Response
Successful Response