---
updatedAt: 2026-10-15T16:00:42.000Z
agentTools:
  projectIndex: https://data.crunchbase.com/llms.txt
---

# Search Event Entities

Can perform more complex filtering based on the query defined in the request body

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Core Financials Package",
    "description": "Crunchbase Enterprise API - Core Financials",
    "termsOfService": "https://data.crunchbase.com/docs/terms",
    "contact": {
      "email": "partnerships@crunchbase.com"
    },
    "version": "1.1.0"
  },
  "externalDocs": {
    "description": "API Reference doc",
    "url": "https://data.crunchbase.com/docs"
  },
  "servers": [
    {
      "url": "https://api.crunchbase.com/v4"
    }
  ],
  "security": [
    {
      "ApiKeyAuthHeader": []
    }
  ],
  "tags": [
    {
      "name": "Search"
    }
  ],
  "paths": {
    "/data/searches/events": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Search Event Entities",
        "description": "Can perform more complex filtering based on the query defined in the request body",
        "operationId": "searchEvents",
        "requestBody": {
          "description": "Search Query Parameters",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventEntitySearch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/EventSearchResults"
          },
          "400": {
            "$ref": "#/components/responses/GenericBadRequestError"
          },
          "404": {
            "$ref": "#/components/responses/GenericNotFoundError"
          },
          "500": {
            "$ref": "#/components/responses/GenericInternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EventFieldId": {
        "type": "string",
        "description": "Event field ids",
        "enum": [
          "categories",
          "category_groups",
          "created_at",
          "description",
          "ends_on",
          "entity_def_id",
          "event_type",
          "event_url",
          "identifier",
          "image_id",
          "image_url",
          "location_group_identifiers",
          "location_identifiers",
          "name",
          "num_contestants",
          "num_exhibitors",
          "num_organizers",
          "num_speakers",
          "num_sponsors",
          "organizer_identifiers",
          "permalink",
          "permalink_aliases",
          "rank",
          "rank_event",
          "registration_url",
          "short_description",
          "starts_on",
          "updated_at",
          "uuid",
          "venue_name"
        ]
      },
      "EventSearchPredicate": {
        "type": "object",
        "description": "Predicate for Event search",
        "allOf": [
          {
            "$ref": "#/components/schemas/Predicate"
          }
        ],
        "properties": {
          "field_id": {
            "type": "string",
            "description": "* categories - Industry. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* category_groups - Industry Group. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* created_at - Created At. Operators: between, blank, eq, gte, lte.\n* description - Full Description. Operators: blank, contains, not_contains.\n* ends_on - End Date. Operators: between, blank, eq, gte, lte.\n* entity_def_id - Entity Def ID. Operators: blank, eq, includes, not_eq, not_includes.\n* event_type - Event Type. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* identifier - Event Name. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.\n* location_group_identifiers - Regions. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* location_identifiers - Location. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* num_contestants - Number of Contestants. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.\n* num_exhibitors - Number of Exhibitors. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.\n* num_organizers - Number of Organizers. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.\n* num_speakers - Number of Speakers. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.\n* num_sponsors - Number of Sponsors. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.\n* organizer_identifiers - Event Organizers. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* permalink_aliases - Permalink Aliases. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* rank - CB Rank. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.\n* rank_event - CB Rank (Event). Operators: between, blank, eq, gt, gte, lt, lte, not_eq.\n* short_description - Description. Operators: blank, contains, not_contains.\n* starts_on - Start Date. Operators: between, blank, eq, gte, lte.\n* updated_at - Updated At. Operators: between, blank, eq, gte, lte.\n* uuid - UUID. Operators: blank, eq, includes, not_eq, not_includes.\n* venue_name - Venue Name. Operators: blank, contains, eq, not_contains, not_eq, starts.",
            "enum": [
              "categories",
              "category_groups",
              "created_at",
              "description",
              "ends_on",
              "entity_def_id",
              "event_type",
              "identifier",
              "location_group_identifiers",
              "location_identifiers",
              "num_contestants",
              "num_exhibitors",
              "num_organizers",
              "num_speakers",
              "num_sponsors",
              "organizer_identifiers",
              "permalink_aliases",
              "rank",
              "rank_event",
              "short_description",
              "starts_on",
              "updated_at",
              "uuid",
              "venue_name"
            ],
            "x-enumDescriptions": {
              "categories": "Industry. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "category_groups": "Industry Group. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "created_at": "Created At. Operators: between, blank, eq, gte, lte.",
              "description": "Full Description. Operators: blank, contains, not_contains.",
              "ends_on": "End Date. Operators: between, blank, eq, gte, lte.",
              "entity_def_id": "Entity Def ID. Operators: blank, eq, includes, not_eq, not_includes.",
              "event_type": "Event Type. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "identifier": "Event Name. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.",
              "location_group_identifiers": "Regions. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "location_identifiers": "Location. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "num_contestants": "Number of Contestants. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.",
              "num_exhibitors": "Number of Exhibitors. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.",
              "num_organizers": "Number of Organizers. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.",
              "num_speakers": "Number of Speakers. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.",
              "num_sponsors": "Number of Sponsors. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.",
              "organizer_identifiers": "Event Organizers. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "permalink_aliases": "Permalink Aliases. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "rank": "CB Rank. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.",
              "rank_event": "CB Rank (Event). Operators: between, blank, eq, gt, gte, lt, lte, not_eq.",
              "short_description": "Description. Operators: blank, contains, not_contains.",
              "starts_on": "Start Date. Operators: between, blank, eq, gte, lte.",
              "updated_at": "Updated At. Operators: between, blank, eq, gte, lte.",
              "uuid": "UUID. Operators: blank, eq, includes, not_eq, not_includes.",
              "venue_name": "Venue Name. Operators: blank, contains, eq, not_contains, not_eq, starts."
            }
          }
        }
      },
      "EventEntitySearch": {
        "type": "object",
        "description": "EntitySearch for Event search",
        "allOf": [
          {
            "$ref": "#/components/schemas/EntitySearch"
          },
          {
            "type": "object",
            "required": [
              "field_ids"
            ],
            "properties": {
              "field_ids": {
                "type": "array",
                "description": "The list of field_ids to include in the result",
                "items": {
                  "$ref": "#/components/schemas/EventFieldId"
                }
              },
              "query": {
                "type": "array",
                "description": "Search query to perform on the designated entity",
                "items": {
                  "$ref": "#/components/schemas/EventSearchPredicate"
                }
              }
            }
          }
        ]
      },
      "EntityIdentifier": {
        "type": "object",
        "description": "Every entity in the system has a unique identifier that contains all necessary properties to represent it.",
        "required": [
          "entity_def_id",
          "uuid"
        ],
        "properties": {
          "entity_def_id": {
            "type": "string",
            "enum": [
              "address",
              "category",
              "category_group",
              "degree",
              "diversity_spotlight",
              "event",
              "event_appearance",
              "investment",
              "ipo",
              "job",
              "location",
              "organization",
              "ownership",
              "person"
            ]
          },
          "image_id": {
            "type": "string",
            "maxLength": 255
          },
          "permalink": {
            "type": "string",
            "maxLength": 255
          },
          "uuid": {
            "type": "string",
            "description": "Universally Unique Identifier",
            "format": "uuid"
          },
          "value": {
            "type": "string",
            "maxLength": 255
          }
        }
      },
      "EntitySearch": {
        "type": "object",
        "required": [
          "field_ids",
          "query"
        ],
        "properties": {
          "after_id": {
            "type": "string",
            "description": "Used to paginate search results to the next page. after_id should be the uuid of the last item in the current page. May not be provided simultaneously with before_id.",
            "format": "uuid"
          },
          "before_id": {
            "type": "string",
            "description": "Used to paginate search results to the previous page. before_id should be the uuid of the first item in the current page. May not be provided simultaneously with after_id.",
            "format": "uuid"
          },
          "field_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "Fields to include as columns in the search result entities - array of field_id strings"
            }
          },
          "limit": {
            "type": "integer",
            "description": "Number of rows to return. Default is 100, min is 1, max is 1000."
          },
          "order": {
            "type": "array",
            "description": "Order in which the search results should be returned",
            "items": {
              "$ref": "#/components/schemas/Order"
            }
          },
          "query": {
            "type": "array",
            "description": "Search query to perform on the designated entity. Specify up-to 25 predicates.",
            "items": {
              "$ref": "#/components/schemas/Predicate"
            },
            "maxItems": 25
          }
        }
      },
      "Errors": {
        "type": "object",
        "description": "Developer friendly error message",
        "properties": {
          "value": {
            "type": "string",
            "description": "stuff"
          }
        }
      },
      "Event": {
        "type": "object",
        "required": [
          "identifier"
        ],
        "properties": {
          "categories": {
            "type": "array",
            "description": "Descriptive keyword for a Company (e.g. SaaS, Android, Cloud Computing, Medical Device)",
            "items": {
              "$ref": "#/components/schemas/EntityIdentifier"
            },
            "x-cb-field-type": "identifier_multi",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "includes",
              "includes_all",
              "not_includes",
              "not_includes_all"
            ]
          },
          "category_groups": {
            "type": "array",
            "description": "Superset of Industries (e.g. Software, Mobile, Health Care)",
            "items": {
              "$ref": "#/components/schemas/EntityIdentifier"
            },
            "x-cb-field-type": "identifier_multi",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "includes",
              "includes_all",
              "not_includes",
              "not_includes_all"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "x-cb-field-type": "datetime",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gte",
              "lte"
            ]
          },
          "description": {
            "type": "string",
            "description": "Text from Event's description",
            "maxLength": 8192,
            "x-cb-field-type": "text_long",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "contains",
              "not_contains"
            ]
          },
          "ends_on": {
            "type": "string",
            "description": "End date of the Event",
            "format": "date",
            "x-cb-field-type": "date",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gte",
              "lte"
            ]
          },
          "entity_def_id": {
            "type": "string",
            "description": "* event - Event",
            "enum": [
              "event"
            ],
            "x-enum-descriptions": [
              "Event"
            ],
            "x-cb-field-enum-values": [
              {
                "value": "event",
                "description": "Event"
              }
            ],
            "x-cb-field-type": "enum",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "eq",
              "includes",
              "not_eq",
              "not_includes"
            ]
          },
          "event_type": {
            "type": "array",
            "description": "Type of Event (e.g. hackathon, meetup, conference)",
            "items": {
              "type": "string",
              "description": "Type of Event (e.g. hackathon, meetup, conference)\n* class - Class\n* competition - Competition\n* conference - Conference\n* demo_day - Demo Day\n* expo - Expo\n* festival - Festival\n* hackathon - Hackathon\n* meetup - Meetup\n* networking - Networking\n* other - Other\n* seminar - Seminar\n* virtual - Virtual\n* webinar - Webinar",
              "enum": [
                "conference",
                "meetup",
                "demo_day",
                "networking",
                "hackathon",
                "seminar",
                "expo",
                "competition",
                "festival",
                "webinar",
                "virtual",
                "class",
                "other"
              ]
            },
            "x-cb-field-type": "enum_multi",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "includes",
              "includes_all",
              "not_includes",
              "not_includes_all"
            ]
          },
          "event_url": {
            "type": "object",
            "description": "Link to main Event page",
            "allOf": [
              {
                "$ref": "#/components/schemas/Link"
              }
            ],
            "x-cb-field-type": "link",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "identifier": {
            "type": "object",
            "description": "Name of the Event",
            "allOf": [
              {
                "$ref": "#/components/schemas/EntityIdentifier"
              }
            ],
            "x-cb-field-type": "identifier",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "contains",
              "eq",
              "includes",
              "not_contains",
              "not_eq",
              "not_includes",
              "starts"
            ]
          },
          "image_id": {
            "type": "string",
            "description": "The profile image of the event on Crunchbase",
            "maxLength": 255,
            "x-cb-field-type": "image_id",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "image_url": {
            "type": "string",
            "description": "The url of the profile image",
            "maxLength": 8192,
            "x-cb-field-type": "text_blob",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "location_group_identifiers": {
            "type": "array",
            "description": "Regions of the Event (e.g. San Francisco Bay Area, Silicon Valley)",
            "items": {
              "$ref": "#/components/schemas/LocationIdentifier"
            },
            "x-cb-field-type": "identifier_multi",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "includes",
              "includes_all",
              "not_includes",
              "not_includes_all"
            ]
          },
          "location_identifiers": {
            "type": "array",
            "description": "Location of the Event (e.g. Japan, San Francisco, Europe, Asia)",
            "items": {
              "$ref": "#/components/schemas/LocationIdentifier"
            },
            "x-cb-field-type": "identifier_multi",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "includes",
              "includes_all",
              "not_includes",
              "not_includes_all"
            ]
          },
          "name": {
            "type": "string",
            "description": "Event Name",
            "maxLength": 8192,
            "x-cb-field-type": "text_blob",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "num_contestants": {
            "type": "number",
            "description": "Total number of Contestants at the Event",
            "x-cb-field-type": "integer",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gt",
              "gte",
              "lt",
              "lte",
              "not_eq"
            ]
          },
          "num_exhibitors": {
            "type": "number",
            "description": "Total number of Exhibitors at the Event",
            "x-cb-field-type": "integer",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gt",
              "gte",
              "lt",
              "lte",
              "not_eq"
            ]
          },
          "num_organizers": {
            "type": "number",
            "description": "Total number of Organizers at the Event",
            "x-cb-field-type": "integer",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gt",
              "gte",
              "lt",
              "lte",
              "not_eq"
            ]
          },
          "num_speakers": {
            "type": "number",
            "description": "Total number of Speakers at the Event",
            "x-cb-field-type": "integer",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gt",
              "gte",
              "lt",
              "lte",
              "not_eq"
            ]
          },
          "num_sponsors": {
            "type": "number",
            "description": "Total number of Sponsors for the Event",
            "x-cb-field-type": "integer",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gt",
              "gte",
              "lt",
              "lte",
              "not_eq"
            ]
          },
          "organizer_identifiers": {
            "type": "array",
            "description": "The organizer of the Event",
            "items": {
              "$ref": "#/components/schemas/EntityIdentifier"
            },
            "x-cb-field-type": "identifier_multi",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "includes",
              "includes_all",
              "not_includes",
              "not_includes_all"
            ]
          },
          "permalink": {
            "type": "string",
            "maxLength": 255,
            "x-cb-field-type": "permalink",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "permalink_aliases": {
            "type": "array",
            "description": "These are the alternative aliases to the primary permalink of the Organization",
            "items": {
              "type": "string",
              "maxLength": 255
            },
            "x-cb-field-type": "text_exact_multi",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "includes",
              "includes_all",
              "not_includes",
              "not_includes_all"
            ]
          },
          "rank": {
            "type": "number",
            "description": "Algorithmic rank assigned to the top profiles on Crunchbase",
            "x-cb-field-type": "integer",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gt",
              "gte",
              "lt",
              "lte",
              "not_eq"
            ]
          },
          "rank_event": {
            "type": "number",
            "description": "Algorithmic rank assigned to the top 100,000 most active Events",
            "x-cb-field-type": "integer",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gt",
              "gte",
              "lt",
              "lte",
              "not_eq"
            ]
          },
          "registration_url": {
            "type": "object",
            "description": "Link to the Event registration page",
            "allOf": [
              {
                "$ref": "#/components/schemas/Link"
              }
            ],
            "x-cb-field-type": "link",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "short_description": {
            "type": "string",
            "description": "A short description of the Event",
            "maxLength": 8192,
            "x-cb-field-type": "text_long",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "contains",
              "not_contains"
            ]
          },
          "starts_on": {
            "type": "string",
            "description": "Start date of the Event",
            "format": "date",
            "x-cb-field-type": "date",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gte",
              "lte"
            ]
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "x-cb-field-type": "datetime",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gte",
              "lte"
            ]
          },
          "uuid": {
            "type": "string",
            "format": "uuid",
            "x-cb-field-type": "uuid",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "eq",
              "includes",
              "not_eq",
              "not_includes"
            ]
          },
          "venue_name": {
            "type": "string",
            "description": "Name of the Event venue",
            "maxLength": 255,
            "x-cb-field-type": "text_short",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "contains",
              "eq",
              "not_contains",
              "not_eq",
              "starts"
            ]
          }
        }
      },
      "Link": {
        "type": "object",
        "description": "An object representing both the url and some labeling text for that url",
        "properties": {
          "label": {
            "type": "string",
            "maxLength": 8192
          },
          "value": {
            "type": "string",
            "maxLength": 8192
          }
        }
      },
      "LocationIdentifier": {
        "type": "object",
        "description": "Every location entity in the system has a unique identifier that contains all necessary properties to represent it.",
        "required": [
          "uuid",
          "entity_def_id"
        ],
        "properties": {
          "entity_def_id": {
            "type": "string",
            "description": "What type of entity this be"
          },
          "image_id": {
            "type": "string",
            "description": "Optionally provided location to obtain an image representing this entity"
          },
          "location_type": {
            "$ref": "#/components/schemas/LocationTypeEnum"
          },
          "permalink": {
            "type": "string",
            "description": "Optionally provided within Entity Def unique nice id of this entity"
          },
          "uuid": {
            "type": "string",
            "description": "Globally unique id of this entity",
            "format": "uuid"
          },
          "value": {
            "type": "string",
            "description": "Textual representation of this entity (i.e. its \"name\")"
          }
        }
      },
      "LocationTypeEnum": {
        "type": "string",
        "enum": [
          "city",
          "region",
          "country",
          "continent",
          "group"
        ]
      },
      "OperatorEnum": {
        "type": "string",
        "description": "Search operations for use in predicates\n* between - Between. Provide two values in \"values\"\n* blank - Is blank. Possible values in \"values\" is \"true\" or \"false\"\n* contains - Contains\n* domain_blank - Domain is blank. Possible values in \"values\" is \"true\" or \"false\"\n* domain_eq - Domain equals\n* domain_includes - Domain includes any\n* eq - Equals\n* gt - Greater than\n* gte - Greater than or equal to\n* includes - Includes any\n* includes_all - Includes all\n* lt - Less than\n* lte - Less than or equal to\n* not_contains - Does not contain\n* not_domain_eq - Domain not equal\n* not_domain_includes - Domain does not include\n* not_eq - Does not equal\n* not_includes - Does not include\n* not_includes_all - Does not include all\n* starts - Starts with",
        "enum": [
          "blank",
          "eq",
          "not_eq",
          "gt",
          "gte",
          "lt",
          "lte",
          "starts",
          "contains",
          "not_contains",
          "between",
          "includes",
          "not_includes",
          "includes_all",
          "not_includes_all",
          "domain_eq",
          "not_domain_eq",
          "domain_blank",
          "domain_includes",
          "not_domain_includes"
        ],
        "x-enumDescriptions": {
          "between": "Between. Provide two values in \"values\"",
          "blank": "Is blank. Possible values in \"values\" is \"true\" or \"false\"",
          "contains": "Contains",
          "domain_blank": "Domain is blank. Possible values in \"values\" is \"true\" or \"false\"",
          "domain_eq": "Domain equals",
          "domain_includes": "Domain includes any",
          "eq": "Equals",
          "gt": "Greater than",
          "gte": "Greater than or equal to",
          "includes": "Includes any",
          "includes_all": "Includes all",
          "lt": "Less than",
          "lte": "Less than or equal to",
          "not_contains": "Does not contain",
          "not_domain_eq": "Domain not equal",
          "not_domain_includes": "Domain does not include",
          "not_eq": "Does not equal",
          "not_includes": "Does not include",
          "not_includes_all": "Does not include all",
          "starts": "Starts with"
        }
      },
      "Order": {
        "type": "object",
        "required": [
          "field_id",
          "sort"
        ],
        "properties": {
          "field_id": {
            "type": "string",
            "description": "Name of the field to sort on"
          },
          "nulls": {
            "type": "string",
            "enum": [
              "first",
              "last"
            ]
          },
          "sort": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "default": "asc"
          }
        }
      },
      "Predicate": {
        "type": "object",
        "description": "A simple search criterion",
        "required": [
          "type",
          "field_id",
          "operator_id"
        ],
        "properties": {
          "field_id": {
            "type": "string",
            "description": "The field to operate on"
          },
          "operator_id": {
            "$ref": "#/components/schemas/OperatorEnum"
          },
          "type": {
            "type": "string",
            "description": "The type of the query (Predicate)",
            "enum": [
              "predicate"
            ],
            "default": "predicate"
          },
          "values": {
            "type": "array",
            "description": "Values array with data type matching field_id type",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "number"
                },
                {
                  "type": "boolean"
                }
              ]
            },
            "maxItems": 200
          }
        }
      }
    },
    "responses": {
      "GenericBadRequestError": {
        "description": "Bad Request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Errors"
            }
          }
        }
      },
      "GenericNotFoundError": {
        "description": "Not Found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Errors"
            }
          }
        }
      },
      "GenericInternalServerError": {
        "description": "Request Failed",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Errors"
            }
          }
        }
      },
      "EventSearchResults": {
        "description": "Results are identifiers matching the search query",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Search results include Event entities",
              "properties": {
                "count": {
                  "type": "integer",
                  "description": "Total number of Event entities"
                },
                "entities": {
                  "type": "array",
                  "description": "List of Event entities",
                  "items": {
                    "type": "object",
                    "properties": {
                      "properties": {
                        "$ref": "#/components/schemas/Event"
                      },
                      "uuid": {
                        "type": "string",
                        "description": "UUID of the entity",
                        "format": "uuid"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuthHeader": {
        "type": "apiKey",
        "name": "X-cb-user-key",
        "in": "header"
      }
    }
  }
}
```