Audit logs
GETList audit logs
List flag change history with optional flag and event filters
/v1/projects/{projectId}/audit-logscurl --request GET \
--url 'http://localhost:4000/v1/projects/{projectId}/audit-logs?flagKey=%3Cstring%3E&event=%3Cstring%3E' \
--header 'Authorization: Bearer <token>'{}List audit logs
Use this endpoint to retrieve a project’s flag change history when you need to inspect changes to flag definitions or targeting. Each entry identifies the actor and includes before and after snapshots, allowing callers to see what changed; create entries have no before snapshot, and delete entries have no after snapshot. Filter results by a flag key or by the event types flag.created, flag.updated, flag.deleted, and targeting.updated.
Results are returned newest first. The limit filter defaults to 50 entries and accepts positive integer values up to 200.
Authentication
AuthorizationbearerrequiredServer API key (srv_). See Authentication.
Path Parameters
projectIdstringrequiredProject ID
Query Parameters
flagKeystringFilter by flag key
eventstringFilter by audit event type Allowed values: flag.created, flag.updated, flag.deleted, targeting.updated.