Mintlify · Schema

SearchRequest

Documentation

Properties

Name Type Description
query string
pageSize integer
scoreThreshold number
filter object
View JSON Schema on GitHub

JSON Schema

mintlify-searchrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SearchRequest",
  "title": "SearchRequest",
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string"
    },
    "pageSize": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10
    },
    "scoreThreshold": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "filter": {
      "type": "object"
    }
  }
}