Weaviate · Schema

WhereFilter

Filter search results using a where filter.

Vector DatabaseArtificial IntelligenceMachine-LearningSemantic SearchOpen-SourceGraphQLKubernetes

Properties

Name Type Description
operands array Combine multiple where filters, requires 'And' or 'Or' operator.
operator string Operator to use.
path array Path to the property currently being filtered.
valueInt integer value as integer
valueNumber number value as number/float
valueBoolean boolean value as boolean
valueString string value as text (deprecated as of v1.19; alias for valueText)
valueText string value as text
valueDate string value as date (as string)
valueIntArray array value as integer
valueNumberArray array value as number/float
valueBooleanArray array value as boolean
valueStringArray array value as text (deprecated as of v1.19; alias for valueText)
valueTextArray array value as text
valueDateArray array value as date (as string)
valueGeoRange object
View JSON Schema on GitHub

JSON Schema

weaviate-where-filter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/weaviate/json-schema/weaviate-where-filter-schema.json",
  "title": "WhereFilter",
  "description": "Filter search results using a where filter.",
  "type": "object",
  "properties": {
    "operands": {
      "type": "array",
      "description": "Combine multiple where filters, requires 'And' or 'Or' operator.",
      "items": {
        "$ref": "#/components/schemas/WhereFilter"
      }
    },
    "operator": {
      "type": "string",
      "description": "Operator to use.",
      "enum": [
        "And",
        "Or",
        "Equal",
        "Like",
        "NotEqual",
        "GreaterThan",
        "GreaterThanEqual",
        "LessThan",
        "LessThanEqual",
        "WithinGeoRange",
        "IsNull",
        "ContainsAny",
        "ContainsAll",
        "ContainsNone",
        "Not"
      ],
      "example": "GreaterThanEqual"
    },
    "path": {
      "type": "array",
      "description": "Path to the property currently being filtered.",
      "example": [
        "inCity",
        "city",
        "name"
      ],
      "items": {
        "type": "string"
      }
    },
    "valueInt": {
      "type": "integer",
      "format": "int64",
      "description": "value as integer",
      "example": 2000
    },
    "valueNumber": {
      "type": "number",
      "format": "float64",
      "description": "value as number/float",
      "example": 3.14
    },
    "valueBoolean": {
      "type": "boolean",
      "description": "value as boolean",
      "example": false
    },
    "valueString": {
      "type": "string",
      "description": "value as text (deprecated as of v1.19; alias for valueText)",
      "example": "my search term"
    },
    "valueText": {
      "type": "string",
      "description": "value as text",
      "example": "my search term"
    },
    "valueDate": {
      "type": "string",
      "description": "value as date (as string)",
      "example": "TODO"
    },
    "valueIntArray": {
      "type": "array",
      "description": "value as integer",
      "example": "[100, 200]",
      "items": {
        "type": "integer",
        "format": "int64"
      }
    },
    "valueNumberArray": {
      "type": "array",
      "description": "value as number/float",
      "example": [
        3.14
      ],
      "items": {
        "type": "number",
        "format": "float64"
      }
    },
    "valueBooleanArray": {
      "type": "array",
      "description": "value as boolean",
      "example": [
        true,
        false
      ],
      "items": {
        "type": "boolean"
      }
    },
    "valueStringArray": {
      "type": "array",
      "description": "value as text (deprecated as of v1.19; alias for valueText)",
      "example": [
        "my search term"
      ],
      "items": {
        "type": "string"
      }
    },
    "valueTextArray": {
      "type": "array",
      "description": "value as text",
      "example": [
        "my search term"
      ],
      "items": {
        "type": "string"
      }
    },
    "valueDateArray": {
      "type": "array",
      "description": "value as date (as string)",
      "example": "TODO",
      "items": {
        "type": "string"
      }
    },
    "valueGeoRange": {
      "$ref": "#/components/schemas/WhereFilterGeoRange"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/weaviate-where-filter"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.