{"components":{"callbacks":{},"examples":{},"headers":{},"links":{},"parameters":{},"pathItems":{},"requestBodies":{},"responses":{},"schemas":{"ProviderFea24D07380F_ApproximateUserLocation":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}},"title":"ApproximateUserLocation","type":"object"},"ProviderFea24D07380F_OpenAIChatRequest":{"properties":{"country":{"default":"us","title":"Country","type":"string"},"enable_citations":{"default":false,"description":"Whether to include inline citation tags in the answer. Requires <code>stream=true</code> and is not supported in research mode.","title":"Enable Citations","type":"boolean"},"enable_entities":{"default":false,"description":"Whether to include inline entity tags in the answer. Requires <code>stream=true</code> and is not supported in research mode.","title":"Enable Entities","type":"boolean"},"enable_research":{"default":false,"description":"Whether to answer with iterative deep research instead of a single search. Requires <code>stream=true</code>.","title":"Enable Research","type":"boolean"},"language":{"default":"en","title":"Language","type":"string"},"max_completion_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Completion Tokens"},"messages":{"description":"The conversation so far. Exactly one <code>user</code> message is supported, e.g. <code>[{&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Explain quantum computing&quot;}]</code>.","items":{"$ref":"#/components/schemas/ProviderFea24D07380F_UserMessage"},"maxItems":1,"minItems":1,"title":"Messages","type":"array"},"metadata":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"description":"Accepted for OpenAI SDK compatibility and currently ignored: the pairs are not stored or returned.","title":"Metadata"},"model":{"default":"brave-pro","description":"Model ID used to generate the response.","enum":["brave-pro","brave"],"title":"Model","type":"string"},"research_allow_thinking":{"default":true,"description":"Accepted for compatibility. Ignored by the mixer engine behind this API, which always runs research with extended thinking off.","title":"Research Allow Thinking","type":"boolean"},"research_maximum_number_of_iterations":{"default":4,"description":"Maximum number of research iterations.","maximum":5,"minimum":1,"title":"Research Maximum Number Of Iterations","type":"integer"},"research_maximum_number_of_queries":{"default":20,"description":"Maximum number of search queries research mode may issue in total.","maximum":50,"minimum":1,"title":"Research Maximum Number Of Queries","type":"integer"},"research_maximum_number_of_results_per_query":{"default":30,"description":"Maximum number of search results to consider per research query.","maximum":60,"minimum":1,"title":"Research Maximum Number Of Results Per Query","type":"integer"},"research_maximum_number_of_seconds":{"default":180,"description":"Time budget for research, in seconds.","maximum":300,"minimum":1,"title":"Research Maximum Number Of Seconds","type":"integer"},"research_maximum_number_of_tokens_per_query":{"default":8192,"description":"Maximum number of tokens to gather per research query.","maximum":16384,"minimum":1024,"title":"Research Maximum Number Of Tokens Per Query","type":"integer"},"safesearch":{"default":"moderate","title":"Safesearch","type":"string"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Accepted for OpenAI SDK compatibility and currently ignored: answers are not reproducible.","title":"Seed"},"stream":{"default":true,"title":"Stream","type":"boolean"},"web_search_options":{"anyOf":[{"$ref":"#/components/schemas/ProviderFea24D07380F_WebSearchOptions"},{"type":"null"}]}},"required":["messages"],"title":"OpenAIChatRequest","type":"object"},"ProviderFea24D07380F_UserLocation":{"properties":{"approximate":{"$ref":"#/components/schemas/ProviderFea24D07380F_ApproximateUserLocation"},"type":{"const":"approximate","default":"approximate","enum":["approximate"],"title":"Type","type":"string"}},"required":["approximate"],"title":"UserLocation","type":"object"},"ProviderFea24D07380F_UserMessage":{"properties":{"content":{"title":"Content","type":"string"},"role":{"const":"user","default":"user","enum":["user"],"title":"Role","type":"string"}},"required":["content"],"title":"UserMessage","type":"object"},"ProviderFea24D07380F_WebSearchOptions":{"properties":{"search_context_size":{"anyOf":[{"enum":["low","medium","high"],"type":"string"},{"type":"null"}],"title":"Search Context Size"},"user_location":{"anyOf":[{"$ref":"#/components/schemas/ProviderFea24D07380F_UserLocation"},{"type":"null"}]}},"title":"WebSearchOptions","type":"object"},"ResponseFea24D07380F_ChoiceChunk":{"properties":{"delta":{"$ref":"#/components/schemas/ResponseFea24D07380F_Delta"},"finish_reason":{"anyOf":[{"enum":["stop","length"],"type":"string"},{"type":"null"}],"title":"Finish Reason"}},"required":["delta"],"title":"ChoiceChunk","type":"object"},"ResponseFea24D07380F_Delta":{"properties":{"content":{"title":"Content","type":"string"},"role":{"const":"assistant","default":"assistant","enum":["assistant"],"title":"Role","type":"string"}},"required":["content"],"title":"Delta","type":"object"},"ResponseFea24D07380F_OpenAIChatResponse":{"properties":{"choices":{"items":{"$ref":"#/components/schemas/ResponseFea24D07380F_ChoiceChunk"},"title":"Choices","type":"array"},"created":{"title":"Created","type":"integer"},"id":{"title":"Id","type":"string"},"model":{"default":"brave-pro","enum":["brave-pro","brave"],"title":"Model","type":"string"},"object":{"const":"chat.completion.chunk","default":"chat.completion.chunk","enum":["chat.completion.chunk"],"title":"Object","type":"string"},"system_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Fingerprint"},"usage":{"anyOf":[{"$ref":"#/components/schemas/ResponseFea24D07380F_OpenAIUsage"},{"type":"null"}]}},"required":["choices","created","id"],"title":"OpenAIChatResponse","type":"object"},"ResponseFea24D07380F_OpenAICompletionTokensDetails":{"properties":{"reasoning_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reasoning Tokens"}},"title":"OpenAICompletionTokensDetails","type":"object"},"ResponseFea24D07380F_OpenAIUsage":{"properties":{"completion_tokens":{"title":"Completion Tokens","type":"integer"},"completion_tokens_details":{"anyOf":[{"$ref":"#/components/schemas/ResponseFea24D07380F_OpenAICompletionTokensDetails"},{"type":"null"}]},"prompt_tokens":{"title":"Prompt Tokens","type":"integer"},"total_tokens":{"title":"Total Tokens","type":"integer"}},"required":["completion_tokens","prompt_tokens","total_tokens"],"title":"OpenAIUsage","type":"object"}},"securitySchemes":{"bearerAuth":{"scheme":"bearer","type":"http"}}},"info":{"description":"","title":"Brave Answer","version":"1","x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","quote":{"header":"X-AISA-Cost-Mode","value":"quote"}},"x-aisa-catalogs":{"brave-answer":{"description":"","title":"Brave Answer","x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","quote":{"header":"X-AISA-Cost-Mode","value":"quote"}},"x-aisa-document":{"facts_hash":"6b3a9238888646dc28002fb62a3125d7042858e20a008775d1444a01ddacef9d","generator_version":"3","protocol_version":"1","schema_version":"1"},"x-aisa-plans":{"builder":1.0,"display_plan":"payg","payg":1.0,"similarweb_payg":1.0,"team":1.0,"version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"}}},"x-aisa-configured-paths":["/apis/v1/brave/chat/completions"],"x-aisa-document":{"composer_version":"31","document_hash":"sha256:e588c3fee07da6634a0af9b317cef0a74bc0b3c4258dfe1ca546bfa71587ca2e","facts_hash":"6b3a9238888646dc28002fb62a3125d7042858e20a008775d1444a01ddacef9d","generator_version":"3","protocol_version":"1","response_pending":[],"schema_version":"1"},"x-aisa-plans":{"builder":1.0,"display_plan":"payg","payg":1.0,"similarweb_payg":1.0,"team":1.0,"version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"},"x-aisa-provider":"brave-answer"},"jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","openapi":"3.1.0","paths":{"/apis/v1/brave/chat/completions":{"post":{"description":"","operationId":"any_brave_answer_apis_v1_brave_chat_completions","requestBody":{"content":{"application/json":{"schema":{"properties":{"country":{"default":"us","title":"Country","type":"string"},"enable_citations":{"default":false,"description":"Whether to include inline citation tags in the answer. Requires <code>stream=true</code> and is not supported in research mode.","title":"Enable Citations","type":"boolean"},"enable_entities":{"default":false,"description":"Whether to include inline entity tags in the answer. Requires <code>stream=true</code> and is not supported in research mode.","title":"Enable Entities","type":"boolean"},"enable_research":{"default":false,"description":"Whether to answer with iterative deep research instead of a single search. Requires <code>stream=true</code>.","title":"Enable Research","type":"boolean"},"language":{"default":"en","title":"Language","type":"string"},"max_completion_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Completion Tokens"},"messages":{"description":"The conversation so far. Exactly one <code>user</code> message is supported, e.g. <code>[{&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Explain quantum computing&quot;}]</code>.","items":{"properties":{"content":{"title":"Content","type":"string"},"role":{"const":"user","default":"user","enum":["user"],"title":"Role","type":"string"}},"required":["content"],"title":"UserMessage","type":"object"},"maxItems":1,"minItems":1,"title":"Messages","type":"array"},"metadata":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"description":"Accepted for OpenAI SDK compatibility and currently ignored: the pairs are not stored or returned.","title":"Metadata"},"model":{"default":"brave-pro","description":"Model ID used to generate the response.","enum":["brave-pro","brave"],"title":"Model","type":"string"},"research_allow_thinking":{"default":true,"description":"Accepted for compatibility. Ignored by the mixer engine behind this API, which always runs research with extended thinking off.","title":"Research Allow Thinking","type":"boolean"},"research_maximum_number_of_iterations":{"default":4,"description":"Maximum number of research iterations.","maximum":5,"minimum":1,"title":"Research Maximum Number Of Iterations","type":"integer"},"research_maximum_number_of_queries":{"default":20,"description":"Maximum number of search queries research mode may issue in total.","maximum":50,"minimum":1,"title":"Research Maximum Number Of Queries","type":"integer"},"research_maximum_number_of_results_per_query":{"default":30,"description":"Maximum number of search results to consider per research query.","maximum":60,"minimum":1,"title":"Research Maximum Number Of Results Per Query","type":"integer"},"research_maximum_number_of_seconds":{"default":180,"description":"Time budget for research, in seconds.","maximum":300,"minimum":1,"title":"Research Maximum Number Of Seconds","type":"integer"},"research_maximum_number_of_tokens_per_query":{"default":8192,"description":"Maximum number of tokens to gather per research query.","maximum":16384,"minimum":1024,"title":"Research Maximum Number Of Tokens Per Query","type":"integer"},"safesearch":{"default":"moderate","title":"Safesearch","type":"string"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Accepted for OpenAI SDK compatibility and currently ignored: answers are not reproducible.","title":"Seed"},"stream":{"default":true,"title":"Stream","type":"boolean"},"web_search_options":{"anyOf":[{"properties":{"search_context_size":{"anyOf":[{"enum":["low","medium","high"],"type":"string"},{"type":"null"}],"title":"Search Context Size"},"user_location":{"anyOf":[{"properties":{"approximate":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}},"title":"ApproximateUserLocation","type":"object"},"type":{"const":"approximate","default":"approximate","enum":["approximate"],"title":"Type","type":"string"}},"required":["approximate"],"title":"UserLocation","type":"object"},{"type":"null"}]}},"title":"WebSearchOptions","type":"object"},{"type":"null"}]}},"required":["messages"],"title":"OpenAIChatRequest","type":"object"}}},"description":"","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseFea24D07380F_OpenAIChatResponse"}}},"description":"Successful Response"},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Answers","tags":["default"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"brave-answer","x-aisa-category":"13","x-aisa-docs-url":"https://aisa.one/docs/api-reference/brave-answer/any_brave_answer_apis_v1_brave_chat_completions","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_usd","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.012,"estimate_source":"profile_seed","evidence_source":"response_header"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":true},"x-aisa-response-source":{"content_hash":"sha256:ee468f8c563e00d1340cef663ad4cfc14c766788ac8d58020f4b05be6aee3510","kind":"upstream_success_contract","source":{"content_hash":"sha256:b61f52721ff2baa8e0f9bb6cfc5bc5a4fd4f76dbf822b207e5c23602410b1606","converter":"scripts/import_brave_reference.py@4","fetched_at":"2026-11-01T11:57:43.960998+00:00","kind":"provider_openapi","owner":"AIsa-team/docs","policy_revision":"sha256:a28127338b1a641229c3afbb4225985e91539e9f038343db46915bbd72d1bb84","refresh_interval_hours":24,"refresh_policy":"automatic","review_period_days":30,"source_index_hash":"sha256:a20e4ae4f5d2708c01bec9e1571920595430e1eb8c92d52b191a87946f93ca32","source_pages":[{"content_hash":"sha256:52c109c10f836716e93dda8933134f98f045caf8c78e8cf0ce63a1fc0b754c4f","url":"https://api-dashboard.search.brave.com/api-reference/ai/answers/__data.json"},{"content_hash":"sha256:34964edbe0f130d224013f88314c7b203e6b68575277c12b138e1e831d53e64e","url":"https://api-dashboard.search.brave.com/api-reference/ai/llm_context/get/__data.json"},{"content_hash":"sha256:9217be7abd39965c8acb0662c0a30423f9f2fce27764117d790138b90a7f655d","url":"https://api-dashboard.search.brave.com/api-reference/ai/llm_context/post/__data.json"},{"content_hash":"sha256:ab4bc9c2042bb31c13bdc06d423c909ccde12916069f6ef1b069228f01db2a8d","url":"https://api-dashboard.search.brave.com/api-reference/images/image_search/__data.json"},{"content_hash":"sha256:3b1afa4e3f81f264d3f245b77ea5273d9a213d2b3de4b4d7dedc01894b37fc64","url":"https://api-dashboard.search.brave.com/api-reference/news/news_search/get/__data.json"},{"content_hash":"sha256:54e73cc6097e7df880dc42143933d9bc07f919e07b116625408bb032ef7d4cc5","url":"https://api-dashboard.search.brave.com/api-reference/news/news_search/post/__data.json"},{"content_hash":"sha256:85cd7a6d3f01850436d332cfc44a726210657f139c0cc80a47a9c74470766a9c","url":"https://api-dashboard.search.brave.com/api-reference/other/spell_check/__data.json"},{"content_hash":"sha256:5c4dbb20ea770ef2c97ba1c6c3775716bcd7d74d4d9bd87bd91e78116e6c769e","url":"https://api-dashboard.search.brave.com/api-reference/other/suggestions/__data.json"},{"content_hash":"sha256:ff221fa765497085ae7a4ce9752831b80c69af59990847057784ba50a68e405a","url":"https://api-dashboard.search.brave.com/api-reference/videos/video_search/get/__data.json"},{"content_hash":"sha256:f5b0f5a02fcdc52cff7f1618beebced3e0341afbf4b31a2ae18b92f61d51ecec","url":"https://api-dashboard.search.brave.com/api-reference/videos/video_search/post/__data.json"},{"content_hash":"sha256:1a3811afefd39e19506a0a24e3b463307f219cc7c08db9348cab8807a70909fe","url":"https://api-dashboard.search.brave.com/api-reference/web/local_pois/__data.json"},{"content_hash":"sha256:389dee2acae3b6fb0fb516e7c7ec271a354fb511a616f68522d593c73109a87e","url":"https://api-dashboard.search.brave.com/api-reference/web/place_search/__data.json"},{"content_hash":"sha256:36d19685c3e9eb3a56b87f269648129524fb6f629418ea799889a142af516f47","url":"https://api-dashboard.search.brave.com/api-reference/web/poi_descriptions/__data.json"},{"content_hash":"sha256:dd2d3f02606cdf073906b9a6d5c5bfcce1fb568092c56fa56742b378a55657e5","url":"https://api-dashboard.search.brave.com/api-reference/web/rich_search/__data.json"},{"content_hash":"sha256:a001dfd07208f89cfcc9a34d90e4593cedc341320c669b270612086245561264","url":"https://api-dashboard.search.brave.com/api-reference/web/search/get/__data.json"},{"content_hash":"sha256:7c3c02d2a0a8cdc07d8ac787f96bcf949c684129c461f73a87374054794ab1f9","url":"https://api-dashboard.search.brave.com/api-reference/web/search/post/__data.json"}],"structured_source_hash":"sha256:c9f6dd9a16bb997d63c16484fb364c55944c82af378f3be119cd2360cea72b95","url":"https://api-dashboard.search.brave.com/llms.txt"}},"x-aisa-revision":{"customer_pricing_ref":"5a6c71bc04a9","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"c389345e3de7"},"x-aisa-runtime-operation":{"method":"ANY","operation_id":"any_brave_answer_apis_v1_brave_chat_completions","path":"/apis/v1/brave/chat/completions"},"x-aisa-source":{"content_hash":"sha256:b61f52721ff2baa8e0f9bb6cfc5bc5a4fd4f76dbf822b207e5c23602410b1606","converter":"scripts/import_brave_reference.py@4","fetched_at":"2026-11-01T11:57:43.960998+00:00","kind":"provider_openapi","owner":"AIsa-team/docs","policy_revision":"sha256:a28127338b1a641229c3afbb4225985e91539e9f038343db46915bbd72d1bb84","refresh_interval_hours":24,"refresh_policy":"automatic","review_period_days":30,"source_index_hash":"sha256:a20e4ae4f5d2708c01bec9e1571920595430e1eb8c92d52b191a87946f93ca32","source_pages":[{"content_hash":"sha256:52c109c10f836716e93dda8933134f98f045caf8c78e8cf0ce63a1fc0b754c4f","url":"https://api-dashboard.search.brave.com/api-reference/ai/answers/__data.json"},{"content_hash":"sha256:34964edbe0f130d224013f88314c7b203e6b68575277c12b138e1e831d53e64e","url":"https://api-dashboard.search.brave.com/api-reference/ai/llm_context/get/__data.json"},{"content_hash":"sha256:9217be7abd39965c8acb0662c0a30423f9f2fce27764117d790138b90a7f655d","url":"https://api-dashboard.search.brave.com/api-reference/ai/llm_context/post/__data.json"},{"content_hash":"sha256:ab4bc9c2042bb31c13bdc06d423c909ccde12916069f6ef1b069228f01db2a8d","url":"https://api-dashboard.search.brave.com/api-reference/images/image_search/__data.json"},{"content_hash":"sha256:3b1afa4e3f81f264d3f245b77ea5273d9a213d2b3de4b4d7dedc01894b37fc64","url":"https://api-dashboard.search.brave.com/api-reference/news/news_search/get/__data.json"},{"content_hash":"sha256:54e73cc6097e7df880dc42143933d9bc07f919e07b116625408bb032ef7d4cc5","url":"https://api-dashboard.search.brave.com/api-reference/news/news_search/post/__data.json"},{"content_hash":"sha256:85cd7a6d3f01850436d332cfc44a726210657f139c0cc80a47a9c74470766a9c","url":"https://api-dashboard.search.brave.com/api-reference/other/spell_check/__data.json"},{"content_hash":"sha256:5c4dbb20ea770ef2c97ba1c6c3775716bcd7d74d4d9bd87bd91e78116e6c769e","url":"https://api-dashboard.search.brave.com/api-reference/other/suggestions/__data.json"},{"content_hash":"sha256:ff221fa765497085ae7a4ce9752831b80c69af59990847057784ba50a68e405a","url":"https://api-dashboard.search.brave.com/api-reference/videos/video_search/get/__data.json"},{"content_hash":"sha256:f5b0f5a02fcdc52cff7f1618beebced3e0341afbf4b31a2ae18b92f61d51ecec","url":"https://api-dashboard.search.brave.com/api-reference/videos/video_search/post/__data.json"},{"content_hash":"sha256:1a3811afefd39e19506a0a24e3b463307f219cc7c08db9348cab8807a70909fe","url":"https://api-dashboard.search.brave.com/api-reference/web/local_pois/__data.json"},{"content_hash":"sha256:389dee2acae3b6fb0fb516e7c7ec271a354fb511a616f68522d593c73109a87e","url":"https://api-dashboard.search.brave.com/api-reference/web/place_search/__data.json"},{"content_hash":"sha256:36d19685c3e9eb3a56b87f269648129524fb6f629418ea799889a142af516f47","url":"https://api-dashboard.search.brave.com/api-reference/web/poi_descriptions/__data.json"},{"content_hash":"sha256:dd2d3f02606cdf073906b9a6d5c5bfcce1fb568092c56fa56742b378a55657e5","url":"https://api-dashboard.search.brave.com/api-reference/web/rich_search/__data.json"},{"content_hash":"sha256:a001dfd07208f89cfcc9a34d90e4593cedc341320c669b270612086245561264","url":"https://api-dashboard.search.brave.com/api-reference/web/search/get/__data.json"},{"content_hash":"sha256:7c3c02d2a0a8cdc07d8ac787f96bcf949c684129c461f73a87374054794ab1f9","url":"https://api-dashboard.search.brave.com/api-reference/web/search/post/__data.json"}],"structured_source_hash":"sha256:c9f6dd9a16bb997d63c16484fb364c55944c82af378f3be119cd2360cea72b95","url":"https://api-dashboard.search.brave.com/llms.txt"},"x-aisa-status":"enabled","x-aisa-upstream-path":"/res/v1/chat/completions","x-aisa-validation":"provider"}}},"security":[{"bearerAuth":[]}],"servers":[{"url":"https://api.aisa.one"}]}
