Octen · Schema
NewsSearchRequest
SearchWeb SearchAILLMEmbeddingsContent ExtractionModel GatewayMCPAgentsDeep ResearchCompany
Properties
| Name | Type | Description |
|---|---|---|
| query | string | The search query. **Operators** - `site: |
| count | integer | Number of results to return. |
| include_domains | array | A list of domains to specifically include in the search results. The `site:` query operator adds to this list. Applies to `results` only; subject grouping does not support domain filtering. |
| exclude_domains | array | A list of domains to specifically exclude from the search results. The `-site:` query operator adds to this list. If a domain appears in both `include_domains` and `exclude_domains`, `exclude_domains` |
| time_basis | string | Determines which time field is used for time filtering. `published` uses time_published; `crawled` uses time_last_crawled. Results missing this field are excluded when filtering by time. |
| time_range | string | Relative time window counting back from the current time based on `time_basis`. Mutually exclusive with `start_time`/`end_time`: if both are provided, `start_time`/`end_time` take precedence. |
| start_time | string | Start time for filtering results. ISO 8601 format. |
| end_time | string | End time for filtering results. ISO 8601 format. |
| language | array | A list of languages to restrict results to, as ISO 639-1 codes. Applies to both `results` and `subjects`. |
| highlight | object | |
| full_content | object | |
| subjects | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/octen-ai/main/json-schema/octen-ai-news-search-request-schema.json",
"title": "NewsSearchRequest",
"x-generated": "2026-10-07",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/octen-ai-openapi.yml#/components/schemas/NewsSearchRequest",
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"description": "The search query.\n\n**Operators**\n\n- `site:<domain>`: restrict results to a single domain. For multiple domains, use `include_domains` and `exclude_domains`.\n- `-site:<domain>`: exclude a single domain from the results."
},
"count": {
"type": "integer",
"default": 5,
"minimum": 1,
"maximum": 100,
"description": "Number of results to return."
},
"include_domains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60
},
"maxItems": 1200,
"description": "A list of domains to specifically include in the search results. The `site:` query operator adds to this list. Applies to `results` only; subject grouping does not support domain filtering."
},
"exclude_domains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60
},
"maxItems": 1200,
"description": "A list of domains to specifically exclude from the search results. The `-site:` query operator adds to this list. If a domain appears in both `include_domains` and `exclude_domains`, `exclude_domains` takes precedence. Applies to `results` only; subject grouping does not support domain filtering."
},
"time_basis": {
"type": "string",
"enum": [
"auto",
"published",
"crawled"
],
"default": "auto",
"description": "Determines which time field is used for time filtering. `published` uses time_published; `crawled` uses time_last_crawled. Results missing this field are excluded when filtering by time."
},
"time_range": {
"type": "string",
"enum": [
"day",
"week",
"month",
"year",
"d",
"w",
"m",
"y"
],
"description": "Relative time window counting back from the current time based on `time_basis`. Mutually exclusive with `start_time`/`end_time`: if both are provided, `start_time`/`end_time` take precedence."
},
"start_time": {
"type": "string",
"format": "date-time",
"description": "Start time for filtering results. ISO 8601 format."
},
"end_time": {
"type": "string",
"format": "date-time",
"description": "End time for filtering results. ISO 8601 format."
},
"language": {
"type": "array",
"items": {
"type": "string",
"enum": [
"ar",
"de",
"en",
"es",
"fr",
"hi",
"id",
"it",
"ja",
"ko",
"nl",
"pl",
"pt",
"ru",
"th",
"tr",
"vi",
"zh"
]
},
"default": [],
"description": "A list of languages to restrict results to, as ISO 639-1 codes. Applies to both `results` and `subjects`."
},
"highlight": {
"$ref": "#/$defs/HighlightOptions"
},
"full_content": {
"$ref": "#/$defs/FullContentOptions"
},
"subjects": {
"$ref": "#/$defs/NewsSubjectOptions"
}
},
"$defs": {
"FullContentOptions": {
"type": "object",
"description": "Controls whether to return the full raw content of each result page.",
"properties": {
"enable": {
"type": "boolean",
"default": false,
"description": "If true, returns full_content for each result."
},
"max_tokens": {
"type": "integer",
"default": 2048,
"minimum": 100,
"maximum": 100000,
"description": "Maximum tokens of full content included per result."
}
}
},
"HighlightOptions": {
"type": "object",
"description": "Controls highlight extraction from result pages.",
"properties": {
"enable": {
"type": "boolean",
"default": true,
"description": "If true, returns query-relevant highlight in each result."
},
"max_tokens": {
"type": "integer",
"default": 512,
"minimum": 100,
"maximum": 20000,
"description": "Max tokens returned per highlight."
}
}
},
"NewsSubjectOptions": {
"type": "object",
"description": "Controls subject grouping, which clusters related articles into events.",
"properties": {
"enable": {
"type": "boolean",
"default": true,
"description": "If true, returns data.subjects."
},
"count": {
"type": "integer",
"default": 2,
"minimum": 1,
"maximum": 5,
"description": "Maximum number of subjects to return."
},
"max_sub_news": {
"type": "integer",
"default": 5,
"minimum": 1,
"maximum": 20,
"description": "Maximum number of sub-events to return per subject."
}
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/octen-ai-news-search-request"
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.