Skip to main content

AuditLogDestinations

List AuditLogDestinations

Returns the audit log destinations of the workspace, newest first, with cursor pagination.

Create an AuditLogDestination

Creates a signed webhook destination that receives every audit log event recorded in the workspace from this point on. The signing secret is returned once in this response and never again.

Retrieve an AuditLogDestination

Retrieves an audit log destination by ID. The signing secret is never returned.

Delete an AuditLogDestination

Deletes a destination and cancels its pending deliveries.

Update an AuditLogDestination

Partially updates a destination. Set status to AUDIT_LOG_DESTINATION_STATUS_PAUSED to stop deliveries while retaining the backlog, and back to AUDIT_LOG_DESTINATION_STATUS_ACTIVE to drain it. The URL can only change while the destination is paused.

List Deliveries

Returns the delivery history of a destination, newest first, optionally filtered by status.

Replay an AuditLogDestination

Queues a new delivery for every retained audit event recorded in the time window, up to 10,000 events per request. Replays keep the original event IDs and never extend event retention.

Rotate Secret

Generates a new signing secret for the destination. Deliveries attempted after the rotation are signed with the new secret. The new secret is returned once in this response and never again.

Test an AuditLogDestination

Sends a signed synthetic audit_log.test event to the destination synchronously and returns the receiver outcome. Test deliveries appear in the delivery history.