Get a comprehensive audit trail of all operations performed in your Metronome account, whether initiated through the API, web interface, or automated processes. This endpoint provides detailed logs of who did what and when, enabling compliance reporting, security monitoring, and operational troubleshooting across all interaction channels.
An array of AuditLog objects containing:
resource_type
: The type of resource affected (e.g., customer, contract, invoice)resource_id
: The specific resource identifieraction
: The operation performednext_page
: Cursor for continuous log retrievalstarting_on
: Earliest logs to return (inclusive)ending_before
: Latest logs to return (exclusive)next_page
resource_type
and resource_id
togetherdate_asc
; use date_desc
for newest firstBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Max number of results that should be returned
1 <= x <= 100
Cursor that indicates where the next page of results should start.
RFC 3339 timestamp of the earliest audit log to return. Cannot be used with 'next_page'.
RFC 3339 timestamp (exclusive). Cannot be used with 'next_page'.
Sort order by timestamp, e.g. date_asc or date_desc. Defaults to date_asc.
date_asc
, date_desc
Optional parameter that can be used to filter which audit logs are returned. If you specify resource_id, you must also specify resource_type.
Optional parameter that can be used to filter which audit logs are returned. If you specify resource_type, you must also specify resource_id.
Success
The response is of type object
.