Bearer token used for request authentication. Alternatively, you can send the API key in the x-api-key header. Note: A payment method is required to use the API.
Unix timestamp in seconds when the task was created.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Octen Docs","description":"The search infrastructure for AI. Real-time web search foundation that empowers LLMs to reason with the world's latest information. Engineered for AI Agents, Copilots, and Chatbots with real-time indexing, sub-100ms latency, and high reliability.","colors":{"primary":"#039855","light":"#FFFFFF","dark":"#0F1117"},"logo":{"light":"https://mintcdn.com/octen-ai/7a_UtFqtHVRx7z9z/logo/logo.svg?fit=max\u0026auto=format\u0026n=7a_UtFqtHVRx7z9z\u0026q=85\u0026s=26d2a863c023b0211afa7c6c0bce2d8e","dark":"https://mintcdn.com/octen-ai/7a_UtFqtHVRx7z9z/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=7a_UtFqtHVRx7z9z\u0026q=85\u0026s=bfbe0113ad39cf82fe68dd515c2091bf","href":"https://octen.ai"},"favicon":"https://mintcdn.com/octen-ai/R4_y7aW-VxkGajbE/logo/favicon.svg?fit=max\u0026auto=format\u0026n=R4_y7aW-VxkGajbE\u0026q=85\u0026s=f60d8117581e937a7e3cab4ecf74aa22","api":{"playground":{"display":"interactive"},"examples":{"prefill":true}},"navbar":{"links":[{"href":"mailto:support@octen.ai","label":"Support"}],"primary":{"type":"button","label":"API Platform","href":"https://octen.ai/platform"}},"footer":{},"seo":{"metatags":{"canonical":"https://docs.octen.ai","keywords":"octen,octen.ai,ai search infrastructure,real-time web search,search api,ai search engine,search for ai agents,retrieval layer for llms,llm grounding,real-time indexing,low latency retrieval,agentic search engine,live web data,sota embedding model,octen-8b,ai search api,web search api,api,search,ai,llms","og:description":"The search infrastructure for AI. Real-time web search foundation that empowers LLMs to reason with the world's latest information. Engineered for AI Agents, Copilots, and Chatbots with real-time indexing, sub-100ms latency, and high reliability.","og:image":"https://octen.ai/_next/static/media/octen-cover.dc74905e.png","og:url":"https://docs.octen.ai","og:site_name":"Octen Docs","twitter:card":"summary_large_image","twitter:description":"The search infrastructure for AI. Real-time web search foundation that empowers LLMs to reason with the world's latest information. Engineered for AI Agents, Copilots, and Chatbots with real-time indexing, sub-100ms latency, and high reliability.","twitter:image":"https://octen.ai/_next/static/media/octen-cover.dc74905e.png","google-site-verification":"WomFSLfAsZAC_vWB_WcRDmkF_IPlrOw-VHZROUA1LFE"},"indexing":"all"},"integrations":{"posthog":{"apiKey":"phc_S3tyhNZM8KsgXjF0kw1LYLgTQ8D2amhZNFA4vz1yHRo","sessionRecording":false}},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"octen-ai","hasAudioNarration":false,"actualSubdomain":"octen-ai","customDomains":["docs.octen.ai"],"gitSource":{"type":"github","owner":"ai-apitech","repo":"apt_docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ae8437b26d449f6e4d783ff","collectionId":"35f6ca5b-8438-4a11-807e-8e221273d36c","liveDeploymentHistoryId":"6ae8437b26d449f6e4d783ff","schemaVersion":"v3"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae86e45e4f1cb0cd68a321f","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Documentation","count":38},{"language":"default","tag":"API Reference","count":22},{"language":"default","tag":"Capabilities","count":17},{"language":"default","tag":"Applications","count":17},{"language":"default","tag":"APIs","count":11},{"language":"default","tag":"Resources","count":9},{"language":"default","tag":"Octen Fast","count":8},{"language":"default","tag":"Octen Premier","count":6},{"language":"default","tag":"Integrations","count":6},{"language":"default","tag":"Overview","count":6}],"searchSettings":{"maxResults":6}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"fix-copy-page.css","content":"#page-context-menu.hidden{display:flex!important}#header>#page-context-menu.mt-3{display:none!important}"}],"page":{"pagePath":"api-reference/post-search-agent","slug":"/api-reference/post-search-agent","pageMetadata":{"title":"Search Agent API Reference","description":"Runs a Search Agent task that answers a question with cited sources, as a Markdown answer or as JSON that matches your schema.","deprecated":null,"version":null,"sidebarTitle":"Search Agent","openapi":"/api-reference/openapi.json post /v1/agent","href":"/api-reference/post-search-agent","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Runs a Search Agent task that answers a question with cited sources, as a Markdown answer or as JSON that matches your schema.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Search Agent API Reference","description":"Runs a Search Agent task that answers a question with cited sources, as a Markdown answer or as JSON that matches your schema.","deprecated":null,"version":null,"sidebarTitle":"Search Agent","openapi":"/api-reference/openapi.json post /v1/agent","href":"/api-reference/post-search-agent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/octen-ai/1394afa843283735/tryit-button.js"],"openApiReferenceData":{"operation":{"summary":"Search Agent","description":"Runs a Search Agent task that answers a question with cited sources, as a Markdown answer or as JSON that matches your schema.","operationId":"post-search-agent","x-mint":{"href":"/api-reference/post-search-agent","metadata":{"title":"Search Agent API Reference","sidebarTitle":"Search Agent"}},"requestBody":"be6f0328-a8cb-421a-9288-18dc9e55991b","responses":{"200":"820af088-1dd2-4e7a-8294-3bd364f1d53d","400":"7a352cb9-a6b4-4e87-892e-4fb1b07f9cc6","401":"b8e48728-b948-4a53-88b3-bb594d75a9a9","403":"4bacc605-1169-4b01-8ff6-8c75552d04dd","429":"239b6356-ed62-440e-925d-d1a8e1b029de","500":"a5974c6b-14f0-49ff-9eb5-70aa4b8549e1"},"method":"post","type":"path","servers":["fb4bb3f4-2efc-4e3c-8c32-f050bca54607"],"security":["aae1d82c-c7f1-4d15-a9bf-a81ce273950b","bbc4e1cd-5926-4ab4-842a-dcee61fd2199"],"path":"/v1/agent","baseUrlOptions":["https://api.octen.ai"],"title":"Search Agent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.0":"Who won the 2026 Nobel Prize in Physiology or Medicine?","body.tier":"low","body.stream":true},{"body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.0":"Names, affiliations at the time of the award, and nationalities of the 2026 Nobel laureates in Physiology or Medicine","body.tier":"low","body.response_format.type":"json_schema","body.response_format.schema":{"type":"object","properties":{"laureates":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"affiliation":{"type":"string"},"nationality":{"type":"string"}},"required":["name","affiliation","nationality"],"additionalProperties":false}}},"required":["laureates"],"additionalProperties":false}},{"body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.0":"Which institutions were they at when they won?","body.previous_task_id":"agent-7f3c2a9e4b1d4c6f8a0e5b2d9c1f6a37","body.tier":"low"}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["messages"],"description":"Request body for the Search Agent API.","properties":{"messages":{"type":"array","description":"A list of messages comprising the conversation so far. User and assistant messages in chronological order for multi-turn conversations.","items":{"type":"object","required":["role","content"],"description":"A single message in the Search Agent request.","properties":{"role":{"type":"string","enum":["system","user","assistant"],"description":"The role of the message author.","isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","description":"The content of the message. Can be a plain string, or an array of text content blocks.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","required":["type"],"description":"A text content block.","properties":{"type":{"type":"string","enum":["text"],"description":"The block type. Always `text` for Search Agent.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text content.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"The content of the message. Can be a plain string, or an array of text content blocks.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].content","typeLabel":"string | object[]"}},"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"},"previous_task_id":{"type":"string","description":"The `task_id` of a previous task, to continue its conversation.","uniqueKey":"previous_task_id","typeLabel":"string"},"tier":{"type":"string","enum":["auto","low","medium","high"],"default":"auto","description":"The task tier. `low`, `medium`, and `high` increase search depth, cost, and time in that order. `auto` is billed by actual usage.","uniqueKey":"tier","typeLabel":"enum\u003cstring>"},"response_format":{"type":"object","description":"Controls the output format.","properties":{"type":{"type":"string","enum":["text","json_schema"],"default":"text","description":"The output format type.","uniqueKey":"response_format.type","typeLabel":"enum\u003cstring>"},"schema":{"type":"object","description":"Required when `type` is `json_schema`. The JSON Schema definition object. May contain `type`, `properties`, `required`, `additionalProperties`, etc. The top-level `type` must be `object`.","uniqueKey":"response_format.schema","typeLabel":"object"}},"uniqueKey":"response_format","typeLabel":"object"},"stream":{"type":"boolean","default":false,"description":"Whether to enable streaming output. When `true`, returns chunks incrementally with types: `status`, `step`, `content`, `finish`, and `usage`.","uniqueKey":"stream","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"streamText":{"title":"streamText","value":{"messages":[{"role":"user","content":"Who won the 2026 Nobel Prize in Physiology or Medicine?"}],"tier":"low","stream":true}},"structuredOutput":{"title":"structuredOutput","value":{"messages":[{"role":"user","content":"Names, affiliations at the time of the award, and nationalities of the 2026 Nobel laureates in Physiology or Medicine"}],"tier":"low","response_format":{"type":"json_schema","schema":{"type":"object","properties":{"laureates":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"affiliation":{"type":"string"},"nationality":{"type":"string"}},"required":["name","affiliation","nationality"],"additionalProperties":false}}},"required":["laureates"],"additionalProperties":false}}}},"followUp":{"title":"followUp","value":{"messages":[{"role":"user","content":"Which institutions were they at when they won?"}],"previous_task_id":"agent-7f3c2a9e4b1d4c6f8a0e5b2d9c1f6a37","tier":"low"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"820af088-1dd2-4e7a-8294-3bd364f1d53d":{"description":"Successful Search Agent response. When `stream=false`, the task starts in `queued`. When `stream=true`, returns a stream of chunks.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"A non-streaming Search Agent response. Returned when `stream=false`.","required":["request_id","task_id","tier","status","created_at"],"properties":{"request_id":{"type":"string","description":"Unique identifier for the request.","isRequired":true,"uniqueKey":"oneOf.0.request_id","typeLabel":"string"},"task_id":{"type":"string","description":"Unique task id, used to retrieve the result.","isRequired":true,"uniqueKey":"oneOf.0.task_id","typeLabel":"string"},"tier":{"type":"string","enum":["auto","low","medium","high"],"description":"The tier from the request.","isRequired":true,"uniqueKey":"oneOf.0.tier","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["queued"],"description":"Task state.","isRequired":true,"uniqueKey":"oneOf.0.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"integer","description":"Unix timestamp in seconds when the task was created.","isRequired":true,"uniqueKey":"oneOf.0.created_at","typeLabel":"integer"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"A streaming chunk of a Search Agent response. Returned when `stream=true`. The `type` field indicates the chunk kind: `status`, `step`, `content`, `finish`, `usage`.","required":["request_id"],"properties":{"request_id":{"type":"string","description":"Unique identifier for the request.","isRequired":true,"uniqueKey":"oneOf.1.request_id","typeLabel":"string"},"type":{"type":"string","enum":["status","step","content","finish","usage"],"description":"The type of this streaming chunk.","uniqueKey":"oneOf.1.type","typeLabel":"enum\u003cstring>"},"created":{"type":"integer","description":"Unix timestamp (in seconds) of when the chunk was created.","uniqueKey":"oneOf.1.created","typeLabel":"integer"},"task_id":{"type":"string","description":"Unique task id.","uniqueKey":"oneOf.1.task_id","typeLabel":"string"},"status":{"type":"string","enum":["queued","running","succeeded","failed","cancelled"],"description":"Task state. Present only in `status` chunks.","uniqueKey":"oneOf.1.status","typeLabel":"enum\u003cstring>"},"stop_reason":{"type":"string","enum":["schema_satisfied","stopped","budget_reached","time_limit_reached","cancelled","error"],"description":"Why the task stopped. `schema_satisfied`: completed normally; `stopped`: stopped on request; `budget_reached` / `time_limit_reached`: wrapped up early after reaching an internal budget or time limit; `cancelled`: cancelled; `error`: failed.","uniqueKey":"oneOf.1.stop_reason","typeLabel":"enum\u003cstring>"},"error":{"type":"object","description":"Failure reason, present when `status` is `failed`. Failed tasks are not billed.","properties":{"code":{"type":"string","enum":["AGENT_TIMEOUT","AGENT_FAILED"],"description":"`AGENT_TIMEOUT`: the task timed out; `AGENT_FAILED`: the task failed for another reason.","uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A message describing the failure.","uniqueKey":"oneOf.1.error.message","typeLabel":"string"}},"uniqueKey":"oneOf.1.error","typeLabel":"object"},"step":{"type":"object","description":"A progress step. Present only in `step` chunks. Each step sends one chunk when it starts and one when it completes.","properties":{"id":{"type":"string","description":"Step id, shared by the chunks of the same step.","uniqueKey":"oneOf.1.step.id","typeLabel":"string"},"type":{"type":"string","description":"Step type, such as `search` or `read`.","uniqueKey":"oneOf.1.step.type","typeLabel":"string"},"source":{"type":"string","description":"Where a `search` step searches, such as `web` or `news`.","uniqueKey":"oneOf.1.step.source","typeLabel":"string"},"query":{"type":"string","description":"The search query. Present when a `search` step starts.","uniqueKey":"oneOf.1.step.query","typeLabel":"string"},"url":{"type":"string","description":"The URL of the page. Present when a `read` step starts.","uniqueKey":"oneOf.1.step.url","typeLabel":"string"},"status":{"type":"string","description":"Step state: `started` or `completed`.","uniqueKey":"oneOf.1.step.status","typeLabel":"string"},"ok":{"type":"boolean","description":"Whether the step succeeded. Present when the step completes.","uniqueKey":"oneOf.1.step.ok","typeLabel":"boolean"},"duration_ms":{"type":"integer","description":"Step time in milliseconds. Present when the step completes.","uniqueKey":"oneOf.1.step.duration_ms","typeLabel":"integer"},"sources_found":{"type":"integer","description":"Number of sources the step found. Present when the step completes.","uniqueKey":"oneOf.1.step.sources_found","typeLabel":"integer"}},"uniqueKey":"oneOf.1.step","typeLabel":"object"},"choices":{"type":"array","description":"Incremental choices. Present only in `content` chunks.","items":{"type":"object","description":"A single choice in a Search Agent streaming chunk.","properties":{"delta":{"type":"object","description":"Incremental content in a Search Agent streaming chunk.","properties":{"role":{"type":"string","enum":["assistant"],"description":"The role. Included in the first `content` chunk.","uniqueKey":"oneOf.1.choices.items.[INDEX].delta.role","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Incremental answer text. Concatenate across `content` chunks to build the final answer.","uniqueKey":"oneOf.1.choices.items.[INDEX].delta.content","typeLabel":"string"},"annotations":{"type":"array","description":"Citation annotations added in this chunk. `start_index` and `end_index` are positions in the full answer.","items":{"type":"object","description":"A citation annotation.","properties":{"type":{"type":"string","enum":["url_citation"],"description":"The annotation type.","uniqueKey":"oneOf.1.choices.items.[INDEX].delta.annotations.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"url_citation":{"type":"object","properties":{"url":{"type":"string","description":"The URL of the cited source.","uniqueKey":"oneOf.1.choices.items.[INDEX].delta.annotations.items.[INDEX].url_citation.url","typeLabel":"string"},"title":{"type":"string","description":"The title of the cited source.","uniqueKey":"oneOf.1.choices.items.[INDEX].delta.annotations.items.[INDEX].url_citation.title","typeLabel":"string"},"start_index":{"type":"integer","description":"Start position of the cited span in `content`.","uniqueKey":"oneOf.1.choices.items.[INDEX].delta.annotations.items.[INDEX].url_citation.start_index","typeLabel":"integer"},"end_index":{"type":"integer","description":"End position of the cited span in `content`.","uniqueKey":"oneOf.1.choices.items.[INDEX].delta.annotations.items.[INDEX].url_citation.end_index","typeLabel":"integer"}},"uniqueKey":"oneOf.1.choices.items.[INDEX].delta.annotations.items.[INDEX].url_citation","typeLabel":"object"}},"uniqueKey":"oneOf.1.choices.items.[INDEX].delta.annotations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.choices.items.[INDEX].delta.annotations","typeLabel":"object[]"}},"uniqueKey":"oneOf.1.choices.items.[INDEX].delta","typeLabel":"object"}},"uniqueKey":"oneOf.1.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.choices","typeLabel":"object[]"},"meta":{"type":"object","description":"Metadata for the Search Agent response.","properties":{"latency":{"type":"integer","description":"Total request latency in milliseconds.","uniqueKey":"oneOf.1.meta.latency","typeLabel":"integer"},"billed_tier":{"type":"string","enum":["auto","low","medium","high"],"description":"The tier actually billed for this request.","uniqueKey":"oneOf.1.meta.billed_tier","typeLabel":"enum\u003cstring>"},"cost":{"type":"number","description":"Amount charged for this task in USD.","uniqueKey":"oneOf.1.meta.cost","typeLabel":"number"}},"uniqueKey":"oneOf.1.meta","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"nonStreaming":{"title":"nonStreaming","value":{"request_id":"20261016092031207H5RC2LJ9ZB","task_id":"agent-2b8e6d41c9a04f7e93d5a1c0e6b7f284","tier":"low","status":"queued","created_at":1793608547}},"streamStatus":{"title":"streamStatus","value":{"type":"status","request_id":"20261016091204118K7Q2M9XA4D","created":1793608513,"task_id":"agent-7f3c2a9e4b1d4c6f8a0e5b2d9c1f6a37","status":"running"}},"streamStepStarted":{"title":"streamStepStarted","value":{"type":"step","request_id":"20261016091204118K7Q2M9XA4D","created":1793608517,"task_id":"agent-7f3c2a9e4b1d4c6f8a0e5b2d9c1f6a37","step":{"id":"step_f49b9a1af695","type":"search","source":"news","query":"2026 Nobel Prize Physiology or Medicine winner announced","status":"started"}}},"streamStepCompleted":{"title":"streamStepCompleted","value":{"type":"step","request_id":"20261016091204118K7Q2M9XA4D","created":1793608517,"task_id":"agent-7f3c2a9e4b1d4c6f8a0e5b2d9c1f6a37","step":{"id":"step_f49b9a1af695","type":"search","source":"news","status":"completed","ok":true,"duration_ms":240,"sources_found":13}}},"streamContent":{"title":"streamContent","value":{"type":"content","request_id":"20261016091204118K7Q2M9XA4D","created":1793608522,"task_id":"agent-7f3c2a9e4b1d4c6f8a0e5b2d9c1f6a37","choices":[{"delta":{"role":"assistant","content":"**The 2026 Nobel Prize in Physiology or Medicine was awarded jointly to Karl Deisseroth, Peter Hegemann, and Georg Nagel.**[^1] They were recognized “for their discoveries concerning light-gated ion channels and optogenetics.”[^1]","annotations":[{"type":"url_citation","url_citation":{"url":"https://www.nobelprize.org/prizes/medicine/2026/press-release/","title":"Press release: Nobel Prize in Physiology or Medicine 2026 - NobelPrize.org","start_index":123,"end_index":127}},{"type":"url_citation","url_citation":{"url":"https://www.nobelprize.org/prizes/medicine/2026/press-release/","title":"Press release: Nobel Prize in Physiology or Medicine 2026 - NobelPrize.org","start_index":226,"end_index":230}}]}}]}},"streamFinish":{"title":"streamFinish","value":{"type":"finish","request_id":"20261016091204118K7Q2M9XA4D","created":1793608522,"task_id":"agent-7f3c2a9e4b1d4c6f8a0e5b2d9c1f6a37"}},"streamUsage":{"title":"streamUsage","value":{"type":"usage","request_id":"20261016091204118K7Q2M9XA4D","created":1793608522,"task_id":"agent-7f3c2a9e4b1d4c6f8a0e5b2d9c1f6a37","meta":{"latency":9376,"billed_tier":"low","cost":0.05}}}},"exampleType":"examples"}},"exampleType":"examples"},"7a352cb9-a6b4-4e87-892e-4fb1b07f9cc6":{"description":"Invalid params — Returned when a required parameter is missing or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Business status code. Non-zero values indicate an error.","isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"msg":{"type":"string","description":"A message describing the error.","isRequired":true,"uniqueKey":"msg","typeLabel":"string"},"request_id":{"type":"string","description":"Unique identifier for the request.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["code","msg","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"code":400,"msg":"Invalid params. Param messages must contain at least one message.","request_id":"req_abc123def456"},"examples":{"Example":{"title":"Example","value":{"code":400,"msg":"Invalid params. Param messages must contain at least one message.","request_id":"req_abc123def456"}}},"exampleType":"examples"}},"exampleType":"examples"},"b8e48728-b948-4a53-88b3-bb594d75a9a9":{"description":"Invalid API Key — Returned when the API key is missing or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Business status code. Non-zero values indicate an error.","isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"msg":{"type":"string","description":"A message describing the error.","isRequired":true,"uniqueKey":"msg","typeLabel":"string"},"request_id":{"type":"string","description":"Unique identifier for the request.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["code","msg","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"code":401,"msg":"Invalid API Key","request_id":"req_abc123def456"},"examples":{"Example":{"title":"Example","value":{"code":401,"msg":"Invalid API Key","request_id":"req_abc123def456"}}},"exampleType":"examples"}},"exampleType":"examples"},"4bacc605-1169-4b01-8ff6-8c75552d04dd":{"description":"Insufficient balance in account — Returned when the account balance is insufficient to complete the request.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Business status code. Non-zero values indicate an error.","isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"msg":{"type":"string","description":"A message describing the error.","isRequired":true,"uniqueKey":"msg","typeLabel":"string"},"request_id":{"type":"string","description":"Unique identifier for the request.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["code","msg","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"code":403,"msg":"Insufficient balance in account","request_id":"req_abc123def456"},"examples":{"Example":{"title":"Example","value":{"code":403,"msg":"Insufficient balance in account","request_id":"req_abc123def456"}}},"exampleType":"examples"}},"exampleType":"examples"},"239b6356-ed62-440e-925d-d1a8e1b029de":{"description":"Exceeding the rate limit — Returned when the request exceeds the configured rate limit.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Business status code. Non-zero values indicate an error.","isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"msg":{"type":"string","description":"A message describing the error.","isRequired":true,"uniqueKey":"msg","typeLabel":"string"},"request_id":{"type":"string","description":"Unique identifier for the request.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["code","msg","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"code":429,"msg":"Exceeding the rate limit","request_id":"req_abc123def456"},"examples":{"Example":{"title":"Example","value":{"code":429,"msg":"Exceeding the rate limit","request_id":"req_abc123def456"}}},"exampleType":"examples"}},"exampleType":"examples"},"a5974c6b-14f0-49ff-9eb5-70aa4b8549e1":{"description":"Internal error — Returned when an unexpected server-side error occurs.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Business status code. Non-zero values indicate an error.","isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"msg":{"type":"string","description":"A message describing the error.","isRequired":true,"uniqueKey":"msg","typeLabel":"string"},"request_id":{"type":"string","description":"Unique identifier for the request.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["code","msg","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"code":500,"msg":"Internal error","request_id":"req_abc123def456"},"examples":{"Example":{"title":"Example","value":{"code":500,"msg":"Internal error","request_id":"req_abc123def456"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"aae1d82c-c7f1-4d15-a9bf-a81ce273950b":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Bearer token used for request authentication. Alternatively, you can send the API key in the `x-api-key` header. Note: A payment method is required to use the API.","scopes":[],"schemeName":"bearerAuth"}},"bbc4e1cd-5926-4ab4-842a-dcee61fd2199":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key used for request authentication. Alternatively, you can send the key as a Bearer token in the `Authorization` header. Note: A payment method is required to use the API.","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"fb4bb3f4-2efc-4e3c-8c32-f050bca54607":{"url":"https://api.octen.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token used for request authentication. Alternatively, you can send the API key in the `x-api-key` header. Note: A payment method is required to use the API.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token used for request authentication. Alternatively, you can send the API key in the `x-api-key` header. Note: A payment method is required to use the API.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key used for request authentication. Alternatively, you can send the key as a Bearer token in the `Authorization` header. Note: A payment method is required to use the API.","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API key used for request authentication. Alternatively, you can send the key as a Bearer token in the `Authorization` header. Note: A payment method is required to use the API.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"octen-ai","siteName":"Octen Docs","title":"Search Agent API Reference - Octen Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T11:04:41.863Z","originalFileLocation":"api-reference/post-search-agent.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Runs a Search Agent task that answers a question with cited sources, as a Markdown answer or as JSON that matches your schema.\">\u003cmeta data-mint-head name=\"keywords\" content=\"octen,octen.ai,ai search infrastructure,real-time web search,search api,ai search engine,search for ai agents,retrieval layer for llms,llm grounding,real-time indexing,low latency retrieval,agentic search engine,live web data,sota embedding model,octen-8b,ai search api,web search api,api,search,ai,llms\">\u003cmeta data-mint-head name=\"application-name\" content=\"Octen Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/octen-ai/XhyhRRvOpTIxrcMy/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/octen-ai/XhyhRRvOpTIxrcMy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/octen-ai/XhyhRRvOpTIxrcMy/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/octen-ai/XhyhRRvOpTIxrcMy/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/octen-ai/XhyhRRvOpTIxrcMy/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/octen-ai/XhyhRRvOpTIxrcMy/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/octen-ai/XhyhRRvOpTIxrcMy/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/octen-ai/XhyhRRvOpTIxrcMy/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/octen-ai/XhyhRRvOpTIxrcMy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Search Agent API Reference - Octen Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"The search infrastructure for AI. Real-time web search foundation that empowers LLMs to reason with the world\u0026#x27;s latest information. Engineered for AI Agents, Copilots, and Chatbots with real-time indexing, sub-100ms latency, and high reliability.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Octen Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.octen.ai/api-reference/post-search-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://octen.ai/_next/static/media/octen-cover.dc74905e.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Search Agent API Reference - Octen Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The search infrastructure for AI. Real-time web search foundation that empowers LLMs to reason with the world\u0026#x27;s latest information. Engineered for AI Agents, Copilots, and Chatbots with real-time indexing, sub-100ms latency, and high reliability.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://octen.ai/_next/static/media/octen-cover.dc74905e.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/octen-ai/XhyhRRvOpTIxrcMy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Octen Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#039855\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"WomFSLfAsZAC_vWB_WcRDmkF_IPlrOw-VHZROUA1LFE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.octen.ai/api-reference/post-search-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/post-search-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.octen.ai/#organization\",\"name\":\"Octen Docs\",\"url\":\"https://docs.octen.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/octen-ai/7a_UtFqtHVRx7z9z/logo/logo.svg?fit=max\u0026auto=format\u0026n=7a_UtFqtHVRx7z9z\u0026q=85\u0026s=26d2a863c023b0211afa7c6c0bce2d8e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.octen.ai#website\",\"name\":\"Octen Docs\",\"url\":\"https://docs.octen.ai\",\"publisher\":{\"@id\":\"https://docs.octen.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.octen.ai/api-reference/post-search-agent#webpage\",\"url\":\"https://docs.octen.ai/api-reference/post-search-agent\",\"name\":\"Search Agent API Reference\",\"description\":\"Runs a Search Agent task that answers a question with cited sources, as a Markdown answer or as JSON that matches your schema.\",\"dateModified\":\"2026-11-02T11:04:41.863Z\",\"isPartOf\":{\"@id\":\"https://docs.octen.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.octen.ai/api-reference/post-search-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.octen.ai/api-reference/post-search-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Applications\",\"item\":\"https://docs.octen.ai/api-reference/answer\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Search Agent API Reference\",\"item\":\"https://docs.octen.ai/api-reference/post-search-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.octen.ai/api-reference/post-search-agent#apireference\",\"headline\":\"Search Agent API Reference\",\"name\":\"Search Agent API Reference\",\"description\":\"Runs a Search Agent task that answers a question with cited sources, as a Markdown answer or as JSON that matches your schema.\",\"url\":\"https://docs.octen.ai/api-reference/post-search-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.octen.ai/api-reference/post-search-agent#webpage\"},\"image\":\"https://octen.ai/_next/static/media/octen-cover.dc74905e.png\",\"dateModified\":\"2026-11-02T11:04:41.863Z\",\"publisher\":{\"@id\":\"https://docs.octen.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.octen.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Octen Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Octen Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/overview/welcome"}]},{"tab":"API Reference","groups":[{"group":"APIs","pages":[{"group":"Octen Pulse","pages":[{"title":"Pulse Search API Reference","deprecated":null,"version":null,"sidebarTitle":"Pulse Search","openapi":"/api-reference/openapi.json post /pulse-search","href":"/api-reference/pulse-search"}]},{"group":"Octen Fast","pages":[{"title":"Broad Search API Reference","deprecated":null,"version":null,"sidebarTitle":"Broad Search","openapi":"/api-reference/openapi.json post /broad-search","href":"/api-reference/broad-search"},{"title":"Web Search API Reference","deprecated":null,"version":null,"sidebarTitle":"Web Search","openapi":"/api-reference/openapi.json post /search","href":"/api-reference/search"},{"title":"Image Search API Reference","deprecated":null,"version":null,"sidebarTitle":"Image Search","openapi":"/api-reference/openapi.json post /image-search","href":"/api-reference/image-search"},{"title":"Video Search API Reference","deprecated":null,"version":null,"sidebarTitle":"Video Search","openapi":"/api-reference/openapi.json post /video-search","href":"/api-reference/video-search"}]},{"group":"Octen Premier","pages":[{"title":"News Search API Reference","deprecated":null,"version":null,"sidebarTitle":"News Search","openapi":"/api-reference/openapi.json post /news-search","href":"/api-reference/news-search"},{"title":"Business Search API Reference","deprecated":null,"version":null,"sidebarTitle":"Business Search","openapi":"/api-reference/openapi.json post /business-search","href":"/api-reference/business-search"},{"title":"Place Search API Reference","deprecated":null,"version":null,"sidebarTitle":"Place Search","openapi":"/api-reference/openapi.json post /place-search","href":"/api-reference/place-search"}]},{"title":"Extract API Reference","deprecated":null,"version":null,"sidebarTitle":"Extract","openapi":"/api-reference/openapi.json post /extract","href":"/api-reference/extract"},{"title":"Embedding API Reference","deprecated":null,"version":null,"sidebarTitle":"Embedding","openapi":"/api-reference/openapi.json post /embedding","href":"/api-reference/embedding"},{"title":"VL Embedding API Reference","deprecated":null,"version":null,"sidebarTitle":"VL Embedding","openapi":"/api-reference/openapi.json post /vl-embedding","href":"/api-reference/vl-embedding"}]},{"group":"Applications","pages":[{"title":"Answer API Reference","description":"Automatically decomposes user messages into multiple sub-queries, performs searches, and synthesizes results using an LLM.","deprecated":null,"version":null,"sidebarTitle":"Answer","openapi":"/api-reference/openapi.json post /answer","href":"/api-reference/answer"},{"title":"Search Agent API Reference","deprecated":null,"version":null,"sidebarTitle":"Search Agent","openapi":"/api-reference/openapi.json post /v1/agent","href":"/api-reference/post-search-agent"},{"title":"Search Agent Result API Reference","description":"Returns a Search Agent task by id.","deprecated":null,"version":null,"sidebarTitle":"Search Agent Result","openapi":"/api-reference/openapi.json get /v1/agent/{task_id}","href":"/api-reference/get-search-agent"},{"title":"Deep Research API Reference","deprecated":null,"version":null,"sidebarTitle":"Deep Research","openapi":"/api-reference/openapi.json post /v1/research","href":"/api-reference/deep-research"},{"title":"Grounded Generation API Reference","deprecated":null,"version":null,"sidebarTitle":"Grounded Generation","openapi":"/api-reference/openapi.json post /v1/grounded-generation","href":"/api-reference/post-grounded-generation"},{"title":"Generation Result API Reference","deprecated":null,"version":null,"sidebarTitle":"Generation Result","openapi":"/api-reference/openapi.json get /v1/grounded-generation/{generation_id}","href":"/api-reference/get-grounded-generation"},{"group":"Auto Search","root":{"title":"LLM Chat (OpenAI-Compatible) API Reference","deprecated":null,"version":null,"sidebarTitle":"LLM Chat (OpenAI-Compatible)","openapi":"/api-reference/openapi.json post /v1/chat/completions","href":"/api-reference/chat-completions"},"pages":[{"title":"LLM Chat (OpenAI-Compatible) API Reference","deprecated":null,"version":null,"sidebarTitle":"LLM Chat (OpenAI-Compatible)","openapi":"/api-reference/openapi.json post /v1/chat/completions","href":"/api-reference/chat-completions"},{"title":"LLM Chat (Anthropic-Compatible) API Reference","deprecated":null,"version":null,"sidebarTitle":"LLM Chat (Anthropic-Compatible)","openapi":"/api-reference/openapi.json post /v1/messages","href":"/api-reference/messages"},{"title":"Image Generation API Reference","deprecated":null,"version":null,"sidebarTitle":"Image Generation","openapi":"/api-reference/openapi.json post /v1/images/generations","href":"/api-reference/images-generations"},{"title":"Video Generation API Reference","deprecated":null,"version":null,"sidebarTitle":"Video Generation","openapi":"/api-reference/openapi.json post /v1/videos","href":"/api-reference/post-video"},{"title":"Video Download API Reference","deprecated":null,"version":null,"sidebarTitle":"Video Download","openapi":"/api-reference/openapi.json get /v1/videos/{id}","href":"/api-reference/get-video"}]}]}]}]},"basePath":"","title":"Search Agent API Reference - Octen Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}