{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-hubspot-type-search-request",
  "title": "HubSpot Search Request",
  "section": "Library asset reference",
  "description": "HubSpot Search Request CRM search body: bounded filters, query, selected properties, one sort, limit and continuation. Five filter groups, eighteen total filters, 3000-character request bound. Required fields must be present; optional field",
  "kind": "type",
  "url": "/wiki/reference-hubspot-type-search-request/",
  "markdown": "/wiki/reference-hubspot-type-search-request/index.md",
  "json": "/wiki/reference-hubspot-type-search-request/index.json",
  "headings": [
    {
      "id": "audited-socket-contract-21-october-2026",
      "title": "Audited socket contract (21 October 2026)",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "hubspot",
  "contract": {
    "key": "hubspot.type.search.request",
    "slug": "hubspot-type-search-request",
    "name": "HubSpot Search Request",
    "kind": "type",
    "family": "hubspot",
    "packId": null,
    "category": "HubSpot",
    "description": "",
    "inputs": [],
    "outputs": [],
    "configSchema": {},
    "documentation": "HubSpot Search Request\n\nCRM search body: bounded filters, query, selected properties, one sort, limit and continuation. Five filter groups, eighteen total filters, 3000-character request bound.\n\n Required fields must be present; optional fields remain absent. Null is accepted only where explicitly declared. Additional provider fields are accepted only by schemas that permit them. Use the matching Encode/Decode assets.\n\nAuthored 2026-10-20. Provider reference: [official documentation](https://developers.hubspot.com/docs/api-reference/latest/crm/using-object-apis). New assets are v1; callers must preserve exact dependency pins. Mock tests establish request/codec behavior only; live tenant access is unverified.\n\n## Audited socket contract (21 October 2026)\n\nInputs:\nNo data sockets.\n\nOutputs:\nNo data sockets.\n\nConfiguration:\nNo asset-specific configuration.\n\nKnown provider records and list elements have structural schemas. Explicit dynamic payloads, selected query results and provider extensions retain the recursive JSON Value vocabulary; they do not imply a known provider entity. Null is distinct from omission. Runtime validates the exact selected immutable type version; reading newer documentation never repins existing graphs. This audit used synthetic fixtures/local mocks and does not establish live provider authorization or delivery.\n\nAuthoritative JSON Schema:\n\n```json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"query\": {\n      \"type\": \"string\",\n      \"maxLength\": 3000\n    },\n    \"filterGroups\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"filters\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"propertyName\": {\n                  \"type\": \"string\",\n                  \"minLength\": 1\n                },\n                \"operator\": {\n                  \"type\": \"string\",\n                  \"enum\": [\n                    \"EQ\",\n                    \"NEQ\",\n                    \"LT\",\n                    \"LTE\",\n                    \"GT\",\n                    \"GTE\",\n                    \"BETWEEN\",\n                    \"IN\",\n                    \"NOT_IN\",\n                    \"HAS_PROPERTY\",\n                    \"NOT_HAS_PROPERTY\",\n                    \"CONTAINS_TOKEN\",\n                    \"NOT_CONTAINS_TOKEN\"\n                  ]\n                },\n                \"value\": {\n                  \"type\": \"string\"\n                },\n                \"highValue\": {\n                  \"type\": \"string\"\n                },\n                \"values\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"type\": \"string\"\n                  },\n                  \"maxItems\": 100\n                }\n              },\n              \"required\": [\n                \"propertyName\",\n                \"operator\"\n              ],\n              \"additionalProperties\": false\n            },\n            \"maxItems\": 6\n          }\n        },\n        \"required\": [\n          \"filters\"\n        ],\n        \"additionalProperties\": false\n      },\n      \"maxItems\": 5\n    },\n    \"sorts\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"propertyName\": {\n            \"type\": \"string\"\n          },\n          \"direction\": {\n            \"type\": \"string\",\n            \"enum\": [\n              \"ASCENDING\",\n              \"DESCENDING\"\n            ]\n          }\n        },\n        \"required\": [\n          \"propertyName\",\n          \"direction\"\n        ],\n        \"additionalProperties\": false\n      },\n      \"maxItems\": 1\n    },\n    \"properties\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"maxItems\": 100\n    },\n    \"limit\": {\n      \"type\": \"integer\",\n      \"minimum\": 1,\n      \"maximum\": 200\n    },\n    \"after\": {\n      \"type\": [\n        \"string\",\n        \"integer\"\n      ]\n    }\n  },\n  \"required\": [],\n  \"additionalProperties\": false\n}\n```",
    "schema": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "maxLength": 3000
        },
        "filterGroups": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "filters": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "propertyName": {
                      "type": "string",
                      "minLength": 1
                    },
                    "operator": {
                      "type": "string",
                      "enum": [
                        "EQ",
                        "NEQ",
                        "LT",
                        "LTE",
                        "GT",
                        "GTE",
                        "BETWEEN",
                        "IN",
                        "NOT_IN",
                        "HAS_PROPERTY",
                        "NOT_HAS_PROPERTY",
                        "CONTAINS_TOKEN",
                        "NOT_CONTAINS_TOKEN"
                      ]
                    },
                    "value": {
                      "type": "string"
                    },
                    "highValue": {
                      "type": "string"
                    },
                    "values": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 100
                    }
                  },
                  "required": [
                    "propertyName",
                    "operator"
                  ],
                  "additionalProperties": false
                },
                "maxItems": 6
              }
            },
            "required": [
              "filters"
            ],
            "additionalProperties": false
          },
          "maxItems": 5
        },
        "sorts": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "propertyName": {
                "type": "string"
              },
              "direction": {
                "type": "string",
                "enum": [
                  "ASCENDING",
                  "DESCENDING"
                ]
              }
            },
            "required": [
              "propertyName",
              "direction"
            ],
            "additionalProperties": false
          },
          "maxItems": 1
        },
        "properties": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 100
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 200
        },
        "after": {
          "type": [
            "string",
            "integer"
          ]
        }
      },
      "required": [],
      "additionalProperties": false
    },
    "runtime": "javascript",
    "tags": [
      "hubspot",
      "library-expansion",
      "type",
      "typed-data"
    ],
    "source": "baseline-catalog"
  }
}
