{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/credo-ai/json-schema/credo-ai-audit-log-filter-options-response-schema.json",
  "title": "Audit Log Filter Options Response",
  "description": "Enumerates the valid values for audit log filters. Use this to populate\nfilter dropdowns (event name, resource type) on the client. The values\nmirror what `GET /audit_logs?filter[name]=...` and\n`filter[resource_type]=...` accept.\n\n`resource_types` applies to both the `resource_type` and `sub_object_type`\nfilters — they draw from the same enum server-side.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/credo-ai-audit-logs-api-openapi.yml#/components/schemas/Audit_Log_Filter_Options_Response",
  "properties": {
    "events": {
      "description": "All valid audit log event names (snake_case).",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "resource_types": {
      "description": "All valid resource type names (also valid for sub_object_type).",
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "events",
    "resource_types"
  ],
  "type": "object"
}