Audit Logs

Get audit-log filter options

Retrieve the distinct event types, actors, user IDs, and tool family slugs that appear in this org's audit logs. Used by the audit-logs UI to populate filter dropdowns with only values that actually yield results.

get/api/audit-logs/filter-options

Request

  • Base URL
    https://app.cotool.ai
  • Auth
    HTTP bearer

Response

Successful response

eventTypesstring[] required

Distinct event types present in audit logs for the organization

actorsstring[] required

Distinct actor values (user, agent, chat) present in audit logs for the organization

userIdsstring[] required

Distinct user IDs present in audit logs for the organization

toolGroupsstring[] required

Distinct tool family slugs (data.toolId first segment, split on "_") present in audit logs for the organization

Changes

No recorded changes to this operation across all 2 revisions of this API.