---
updatedAt: 2026-05-28T17:28:39.000Z
agentTools:
  projectIndex: https://data.crunchbase.com/llms.txt
---

# Search ClosurePrediction Entities

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

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Predictions Only Package",
    "description": "Crunchbase Enterprise API - Predictions",
    "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/closure_predictions": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Search ClosurePrediction Entities",
        "description": "Can perform more complex filtering based on the query defined in the request body",
        "operationId": "searchClosurePredictions",
        "requestBody": {
          "description": "Search Query Parameters",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClosurePredictionEntitySearch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/ClosurePredictionSearchResults"
          },
          "400": {
            "$ref": "#/components/responses/GenericBadRequestError"
          },
          "404": {
            "$ref": "#/components/responses/GenericNotFoundError"
          },
          "500": {
            "$ref": "#/components/responses/GenericInternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ClosurePredictionFieldId": {
        "type": "string",
        "description": "ClosurePrediction field ids",
        "enum": [
          "addresses",
          "awards",
          "bankruptcy",
          "created_at",
          "earnings_change_news_event",
          "entity_def_id",
          "example_funding_round",
          "financials_reasons",
          "funding_round",
          "generated_on",
          "growth_insights",
          "identifier",
          "industry_performance_reasons",
          "key_employee_changes",
          "key_leadership_hires",
          "layoffs",
          "legal_proceedings",
          "market_equity_reasons",
          "market_insight_reasons",
          "market_insights",
          "media_sentiment",
          "misc_reasons",
          "organization",
          "organization_trajectory",
          "partnership_announcements",
          "patents",
          "probability_score",
          "probability_score_timeseries",
          "probability_tier",
          "product_launches",
          "profit_margin_news_event",
          "revenue_change_news_event",
          "updated_at",
          "uuid"
        ]
      },
      "ClosurePredictionSearchPredicate": {
        "type": "object",
        "description": "Predicate for ClosurePrediction search",
        "allOf": [
          {
            "$ref": "#/components/schemas/Predicate"
          }
        ],
        "properties": {
          "field_id": {
            "type": "string",
            "description": "* addresses - Addresses. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* awards - Awards. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* bankruptcy - Bankruptcy. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.\n* created_at - Creation Time. Operators: between, blank, eq, gte, lte.\n* earnings_change_news_event - Earnings Change News Event. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.\n* entity_def_id - Type. Operators: blank, eq, includes, not_eq, not_includes.\n* example_funding_round - Similar Funding Round. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.\n* funding_round - Funding Round. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.\n* generated_on - Generated On. Operators: between, blank, eq, gte, lte.\n* growth_insights - Growth Insights. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* identifier - Name. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.\n* key_employee_changes - Key Employee Changes. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* key_leadership_hires - Key Leadership Hires. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* layoffs - Layoffs. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* legal_proceedings - Legal Proceedings. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* market_insight_reasons - Market Insight Reasons. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* market_insights - Market Insights. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* media_sentiment - Media Coverage and Public Sentiment. Operators: blank, eq, includes, not_eq, not_includes.\n* organization - Organization. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.\n* partnership_announcements - Partnership Announcements. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* patents - Patents. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* probability_score - Closure Probability. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.\n* probability_tier - Probability Tier. Operators: blank, eq, includes, not_eq, not_includes.\n* product_launches - Product Launches. Operators: blank, includes, includes_all, not_includes, not_includes_all.\n* profit_margin_news_event - Profit Margin News Event. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.\n* revenue_change_news_event - Revenue Change News Event. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.\n* updated_at - Updated Time. Operators: between, blank, eq, gte, lte.\n* uuid - uuid. Operators: blank, eq, includes, not_eq, not_includes.",
            "enum": [
              "addresses",
              "awards",
              "bankruptcy",
              "created_at",
              "earnings_change_news_event",
              "entity_def_id",
              "example_funding_round",
              "funding_round",
              "generated_on",
              "growth_insights",
              "identifier",
              "key_employee_changes",
              "key_leadership_hires",
              "layoffs",
              "legal_proceedings",
              "market_insight_reasons",
              "market_insights",
              "media_sentiment",
              "organization",
              "partnership_announcements",
              "patents",
              "probability_score",
              "probability_tier",
              "product_launches",
              "profit_margin_news_event",
              "revenue_change_news_event",
              "updated_at",
              "uuid"
            ],
            "x-enumDescriptions": {
              "addresses": "Addresses. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "awards": "Awards. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "bankruptcy": "Bankruptcy. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.",
              "created_at": "Creation Time. Operators: between, blank, eq, gte, lte.",
              "earnings_change_news_event": "Earnings Change News Event. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.",
              "entity_def_id": "Type. Operators: blank, eq, includes, not_eq, not_includes.",
              "example_funding_round": "Similar Funding Round. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.",
              "funding_round": "Funding Round. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.",
              "generated_on": "Generated On. Operators: between, blank, eq, gte, lte.",
              "growth_insights": "Growth Insights. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "identifier": "Name. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.",
              "key_employee_changes": "Key Employee Changes. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "key_leadership_hires": "Key Leadership Hires. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "layoffs": "Layoffs. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "legal_proceedings": "Legal Proceedings. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "market_insight_reasons": "Market Insight Reasons. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "market_insights": "Market Insights. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "media_sentiment": "Media Coverage and Public Sentiment. Operators: blank, eq, includes, not_eq, not_includes.",
              "organization": "Organization. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.",
              "partnership_announcements": "Partnership Announcements. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "patents": "Patents. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "probability_score": "Closure Probability. Operators: between, blank, eq, gt, gte, lt, lte, not_eq.",
              "probability_tier": "Probability Tier. Operators: blank, eq, includes, not_eq, not_includes.",
              "product_launches": "Product Launches. Operators: blank, includes, includes_all, not_includes, not_includes_all.",
              "profit_margin_news_event": "Profit Margin News Event. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.",
              "revenue_change_news_event": "Revenue Change News Event. Operators: blank, contains, eq, includes, not_contains, not_eq, not_includes, starts.",
              "updated_at": "Updated Time. Operators: between, blank, eq, gte, lte.",
              "uuid": "uuid. Operators: blank, eq, includes, not_eq, not_includes."
            }
          }
        }
      },
      "ClosurePredictionEntitySearch": {
        "type": "object",
        "description": "EntitySearch for ClosurePrediction 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/ClosurePredictionFieldId"
                }
              },
              "query": {
                "type": "array",
                "description": "Search query to perform on the designated entity",
                "items": {
                  "$ref": "#/components/schemas/ClosurePredictionSearchPredicate"
                }
              }
            }
          }
        ]
      },
      "ClosurePrediction": {
        "type": "object",
        "required": [
          "identifier"
        ],
        "properties": {
          "addresses": {
            "type": "array",
            "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"
            ]
          },
          "awards": {
            "type": "array",
            "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"
            ]
          },
          "bankruptcy": {
            "type": "object",
            "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"
            ]
          },
          "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"
            ]
          },
          "earnings_change_news_event": {
            "type": "object",
            "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"
            ]
          },
          "entity_def_id": {
            "type": "string",
            "description": "* closure_prediction - Closure Prediction",
            "enum": [
              "closure_prediction"
            ],
            "x-enum-descriptions": [
              "Closure Prediction"
            ],
            "x-cb-field-enum-values": [
              {
                "value": "closure_prediction",
                "description": "Closure Prediction"
              }
            ],
            "x-cb-field-type": "enum",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "eq",
              "includes",
              "not_eq",
              "not_includes"
            ]
          },
          "example_funding_round": {
            "type": "object",
            "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"
            ]
          },
          "financials_reasons": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 8192
            },
            "x-cb-field-type": "text_blob_multi",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "funding_round": {
            "type": "object",
            "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"
            ]
          },
          "generated_on": {
            "type": "string",
            "format": "date",
            "x-cb-field-type": "date",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gte",
              "lte"
            ]
          },
          "growth_insights": {
            "type": "array",
            "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"
            ]
          },
          "identifier": {
            "type": "object",
            "description": "Closure Prediction identifier",
            "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"
            ]
          },
          "industry_performance_reasons": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 8192
            },
            "x-cb-field-type": "text_blob_multi",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "key_employee_changes": {
            "type": "array",
            "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"
            ]
          },
          "key_leadership_hires": {
            "type": "array",
            "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"
            ]
          },
          "layoffs": {
            "type": "array",
            "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"
            ]
          },
          "legal_proceedings": {
            "type": "array",
            "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"
            ]
          },
          "market_equity_reasons": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 8192
            },
            "x-cb-field-type": "text_blob_multi",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "market_insight_reasons": {
            "type": "array",
            "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"
            ]
          },
          "market_insights": {
            "type": "array",
            "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"
            ]
          },
          "media_sentiment": {
            "type": "string",
            "description": "* c100_evidence_absent - No Increased Negative Media Coverage\n* c200_evidence_present - Increased Negative Media Coverage",
            "enum": [
              "c100_evidence_absent",
              "c200_evidence_present"
            ],
            "x-enum-descriptions": [
              "No Increased Negative Media Coverage",
              "Increased Negative Media Coverage"
            ],
            "x-cb-field-enum-values": [
              {
                "value": "c100_evidence_absent",
                "description": "No Increased Negative Media Coverage"
              },
              {
                "value": "c200_evidence_present",
                "description": "Increased Negative Media Coverage"
              }
            ],
            "x-cb-field-type": "enum",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "eq",
              "includes",
              "not_eq",
              "not_includes"
            ]
          },
          "misc_reasons": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 8192
            },
            "x-cb-field-type": "text_blob_multi",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "organization": {
            "type": "object",
            "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"
            ]
          },
          "organization_trajectory": {
            "type": "string",
            "maxLength": 8192,
            "x-cb-field-type": "text_blob",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "partnership_announcements": {
            "type": "array",
            "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"
            ]
          },
          "patents": {
            "type": "array",
            "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"
            ]
          },
          "probability_score": {
            "type": "number",
            "format": "double",
            "x-cb-field-type": "decimal",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "between",
              "blank",
              "eq",
              "gt",
              "gte",
              "lt",
              "lte",
              "not_eq"
            ]
          },
          "probability_score_timeseries": {
            "type": "object",
            "properties": {
              "months_00_to_05": {
                "type": "number",
                "format": "double",
                "x-cb-field-type": "decimal",
                "x-cb-searchable": false,
                "x-cb-search-operators": []
              },
              "months_06_to_11": {
                "type": "number",
                "format": "double",
                "x-cb-field-type": "decimal",
                "x-cb-searchable": false,
                "x-cb-search-operators": []
              },
              "months_12_to_24": {
                "type": "number",
                "format": "double",
                "x-cb-field-type": "decimal",
                "x-cb-searchable": false,
                "x-cb-search-operators": []
              },
              "months_24_plus": {
                "type": "number",
                "format": "double",
                "x-cb-field-type": "decimal",
                "x-cb-searchable": false,
                "x-cb-search-operators": []
              }
            },
            "x-cb-field-type": "properties",
            "x-cb-searchable": false,
            "x-cb-search-operators": []
          },
          "probability_tier": {
            "type": "string",
            "description": "The predicted probability of this organization closing is divided into distinct tiers that quantify the likelihood of this event.\n* p100_positive_high - Very Likely\n* p200_positive_low - Probable\n* p300_neutral - Uncertain\n* p400_negative_low - Doubtful\n* p500_negative_high - Very Unlikely",
            "enum": [
              "p100_positive_high",
              "p200_positive_low",
              "p300_neutral",
              "p400_negative_low",
              "p500_negative_high"
            ],
            "x-enum-descriptions": [
              "Very Likely",
              "Probable",
              "Uncertain",
              "Doubtful",
              "Very Unlikely"
            ],
            "x-cb-field-enum-values": [
              {
                "value": "p100_positive_high",
                "description": "Very Likely"
              },
              {
                "value": "p200_positive_low",
                "description": "Probable"
              },
              {
                "value": "p300_neutral",
                "description": "Uncertain"
              },
              {
                "value": "p400_negative_low",
                "description": "Doubtful"
              },
              {
                "value": "p500_negative_high",
                "description": "Very Unlikely"
              }
            ],
            "x-cb-field-type": "enum",
            "x-cb-searchable": true,
            "x-cb-search-operators": [
              "blank",
              "eq",
              "includes",
              "not_eq",
              "not_includes"
            ]
          },
          "product_launches": {
            "type": "array",
            "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"
            ]
          },
          "profit_margin_news_event": {
            "type": "object",
            "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"
            ]
          },
          "revenue_change_news_event": {
            "type": "object",
            "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"
            ]
          },
          "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"
            ]
          }
        }
      },
      "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": [
              "acquisition",
              "acquisition_prediction",
              "address",
              "category",
              "category_group",
              "closure_prediction",
              "degree",
              "diversity_spotlight",
              "event",
              "event_appearance",
              "fund",
              "funding_prediction",
              "funding_round",
              "growth_prediction",
              "investment",
              "ipo",
              "ipo_prediction",
              "job",
              "layoff_prediction",
              "location",
              "remain_private_prediction",
              "organization",
              "ownership",
              "person",
              "press_reference"
            ]
          },
          "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"
          }
        }
      },
      "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"
            }
          }
        }
      },
      "ClosurePredictionSearchResults": {
        "description": "Results are identifiers matching the search query",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Search results include ClosurePrediction entities",
              "properties": {
                "count": {
                  "type": "integer",
                  "description": "Total number of ClosurePrediction entities"
                },
                "entities": {
                  "type": "array",
                  "description": "List of ClosurePrediction entities",
                  "items": {
                    "type": "object",
                    "properties": {
                      "properties": {
                        "$ref": "#/components/schemas/ClosurePrediction"
                      },
                      "uuid": {
                        "type": "string",
                        "description": "UUID of the entity",
                        "format": "uuid"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuthHeader": {
        "type": "apiKey",
        "name": "X-cb-user-key",
        "in": "header"
      }
    }
  }
}
```