View raw JSON
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"~standard": {
"vendor": "zod",
"version": 1,
"jsonSchema": {}
},
"properties": {
"type": {
"enum": [
"auto",
"instant",
"fast",
"neural",
"deep-lite",
"deep",
"deep-reasoning"
],
"type": "string",
"default": "auto"
},
"query": {
"type": "string",
"minLength": 1,
"description": "Natural-language search query."
},
"stream": {
"type": "boolean"
},
"category": {
"enum": [
"company",
"research paper",
"news",
"personal site",
"financial report",
"people"
],
"type": "string"
},
"contents": {
"type": "object",
"properties": {
"text": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"properties": {
"maxCharacters": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"includeHtmlTags": {
"type": "boolean"
}
},
"additionalProperties": false
}
]
},
"extras": {
"type": "object",
"properties": {
"links": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"imageLinks": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"summary": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"schema": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": false
},
"subpages": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"highlights": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"numSentences": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"highlightsPerUrl": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
]
},
"maxAgeHours": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"subpageTarget": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"additionalProperties": false
},
"moderation": {
"type": "boolean",
"default": false
},
"numResults": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of results (1-100)."
},
"endCrawlDate": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"outputSchema": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"systemPrompt": {
"type": "string"
},
"userLocation": {
"type": "string"
},
"excludeDomains": {
"type": "array",
"items": {
"type": "string"
}
},
"includeDomains": {
"type": "array",
"items": {
"type": "string"
}
},
"startCrawlDate": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"endPublishedDate": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"additionalQueries": {
"type": "array",
"items": {
"type": "string"
}
},
"startPublishedDate": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}