Skip to main content
GET
/
api
/
audit-logs
/
filter-options
cURL
curl -X GET "https://app.cotool.ai/api/audit-logs/filter-options" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "eventTypes": [
    "<string>"
  ],
  "actors": [
    "<string>"
  ],
  "userIds": [
    "<string>"
  ],
  "toolGroups": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Response

Successful response

Pre-computed value lists used to populate the audit-log filter dropdowns. Each list is already scoped to values that appear in the org's audit logs after the native-tool exclusion.

eventTypes
string[]
required

Distinct event types present in audit logs for the organization

actors
string[]
required

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

userIds
string[]
required

Distinct user IDs present in audit logs for the organization

toolGroups
string[]
required

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