Query audit log events

Retrieve paginated audit log events for a workspace or an organization. Exactly one of workspaceId or organizationId must be provided.

Supports filtering by date range (Unix timestamps), multiple actions, multiple actor IDs, and target ID. Any combination of filters can be applied together.

Array parameters use comma-separated values:

  • Multiple actions: ?actions=billing.credits.consumed,dubbing.project.created
  • Multiple actors: ?actorIds=user-123,user-456

Example queries:

  • Latest events: GET /v2/auditLogs/events?workspaceId=12345678-1234-1234-1234-123456789abc&limit=50
  • Filtered by action and date: GET /v2/auditLogs/events?workspaceId=12345678-1234-1234-1234-123456789abc &actions=billing.credits.consumed&startDate=1704067200&endDate=1706745599
  • Multiple filters: GET /v2/auditLogs/events?workspaceId=12345678-1234-1234-1234-123456789abc &actions=billing.credits.consumed,dubbing.project.created&actorIds=user-123,user-456

This endpoint is rate-limited and usage is tracked against your API quota.

Language
Credentials
Header
Click Try It! to start a request and see the response here!