{ "success": true, "error": null, "tx_id": "tx_a1b2c3d4-e5f6-7890-abcd-ef1234567890", "query": "latest developments in quantum computing", "results": [ { "id": "https://example.com/research/source-1", "title": "Illustrative research source 1", "url": "https://example.com/research/source-1", "content": "Illustrative source 1 text. Replace this placeholder with the actual returned evidence.", "description": "Placeholder source text for the response format.", "source": "web", "price": 0.000625, "length": 87, "image_url": {}, "relevance_score": 0.95, "data_type": "unstructured", "source_type": "website", "publication_date": "2024-06-15" }, { "id": "https://example.com/research/source-2", "title": "Illustrative research source 2", "url": "https://example.com/research/source-2", "content": "Illustrative source 2 text. Replace this placeholder with the actual returned evidence.", "description": "Placeholder source text for the response format.", "source": "valyu/valyu-arxiv", "price": 0.0003125, "length": 87, "image_url": {}, "relevance_score": 0.89, "data_type": "unstructured", "source_type": "paper", "publication_date": "2024-01-15" } ], "results_by_source": { "web": 1, "proprietary": 1 }, "total_deduction_dollars": 0.0009375, "total_characters": 174}
Search
POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.
{ "success": true, "error": null, "tx_id": "tx_a1b2c3d4-e5f6-7890-abcd-ef1234567890", "query": "latest developments in quantum computing", "results": [ { "id": "https://example.com/research/source-1", "title": "Illustrative research source 1", "url": "https://example.com/research/source-1", "content": "Illustrative source 1 text. Replace this placeholder with the actual returned evidence.", "description": "Placeholder source text for the response format.", "source": "web", "price": 0.000625, "length": 87, "image_url": {}, "relevance_score": 0.95, "data_type": "unstructured", "source_type": "website", "publication_date": "2024-06-15" }, { "id": "https://example.com/research/source-2", "title": "Illustrative research source 2", "url": "https://example.com/research/source-2", "content": "Illustrative source 2 text. Replace this placeholder with the actual returned evidence.", "description": "Placeholder source text for the response format.", "source": "valyu/valyu-arxiv", "price": 0.0003125, "length": 87, "image_url": {}, "relevance_score": 0.89, "data_type": "unstructured", "source_type": "paper", "publication_date": "2024-01-15" } ], "results_by_source": { "web": 1, "proprietary": 1 }, "total_deduction_dollars": 0.0009375, "total_characters": 174}
Retrieve ranked results with source URLs and extracted content. Use Search when your application controls the queries, evidence selection and final response.
Use search_type="web" for web pages or "news" for news. Use included_sources to select dataset IDs, supported presets or domains. The "proprietary" option is the API’s name for its dataset search route; it does not mean every source contains privately owned or exclusive information.By default, included_sources is advisory: when you list two or more dataset IDs, Valyu may search only the most relevant of them for the query. To search every listed dataset, set scope_policy: "strict" and pass 1-128 dataset IDs (no presets, domains or "web"). Strict responses include a source_scope receipt showing which datasets were searched and which returned results. A dataset with no results was not necessarily searched in full. scope_policy is not in the SDKs yet, so send it over HTTP.excluded_sources accepts domains, dataset IDs and preset names such as "finance". site: and -site: operators in the query filter every result, web and dataset alike.Check available sources before relying on a dataset. Request include_abstracts=true to expand PubMed searches beyond papers with available full text. More returned characters do not guarantee access to a complete document.
Set include_image_links to false to replace each image with its alt text. For example,  becomes [Image: Product photo]. The API removes an image with no alt text. Other links do not change. The default is true. See remove image links.
Keep each result’s url, source and available date alongside its content. Handle empty result sets explicitly. Read warnings too: it says what was skipped or adjusted, for example named datasets outside your plan. See warnings. A relevance score measures the match to a query, not the truth of a claim.total_deduction_dollars is the amount charged for the request and each result’s price is its share. Web results use 0.1 credits each; dataset prices are listed in Datasources. See pricing.Start with a specific question and five results, then adjust source filters and result length against representative tasks. Use DeepResearch when you want to run the investigation and receive a report.
Maximum number of results to return. Higher limits (up to 100) are available on request. A value above your limit is lowered to it, and the response carries a max_num_results_capped warning.
Caps the cost of the whole request. This is not a token limit or a per-result ceiling. When omitted, the default is 1000. See pricing.
Before searching, the request is checked against its worst-case cost and rejected with 400 (Insufficient max_price. Search requires max_price >= X for your query) if the budget is too low. For example, 10 web results need max_price >= 6.25.
Domain names or URLs for web filtering (e.g. "arxiv.org", "https://arxiv.org")
Dataset identifiers for proprietary sources (e.g. "valyu/valyu-arxiv")
Preset names that expand to curated source groups: "academic", "finance", "patent", "transportation", "politics", "legal", "health", "genomics", "chemistry", "physics"
"web" keyword to explicitly include web search alongside proprietary sources
"collection:NAME" to reference an org-scoped saved source collection
With the default scope_policy: "advisory", a list of two or more dataset IDs is treated as guidance: Valyu may search only the most relevant of them for the query. Set scope_policy: "strict" to search every listed dataset.
Datasets above your plan are dropped; if none remain, the request returns 403 tier_insufficient. DeepResearch-only datasets are dropped when listed alongside other sources, and return 403 when they are the only sources requested.
Note: most specialised and proprietary sources require a subscription. All plans include web search and open academic sources (arXiv, PubMed).
Sources to exclude from the search. Accepts domain names, URLs, dataset identifiers and preset names (e.g. "finance", "academic"). Excluded datasets and presets are never searched. With scope_policy: "strict", only dataset identifiers are accepted, and they are removed from the included_sources list.
advisory (default) - included_sources guides source selection. With two or more dataset IDs, Valyu may search only the most relevant of them.
strict - search exactly the dataset IDs in included_sources, minus any in excluded_sources. Requires 1-128 dataset IDs. Presets, domains, URLs, "web" and search_type: "web" are rejected, and web search is skipped. The response includes a source_scope receipt.
Strict errors: 400 invalid_scope_policy (unknown value), 400 invalid_strict_source_scope (missing, empty or oversized list, a non-dataset entry, or nothing left after exclusions), 400 unsupported_strict_source (a dataset Search cannot serve), and 403 dataset_outside_task_scope (a dataset outside your plan or grants; no partial fallback).
Not yet in the Python or TypeScript SDKs. Send it in the request body over HTTP.
Bias values for specific sources to influence ranking without hard filtering. Keys are domains (e.g., 'nasa.gov') or URL paths (e.g., 'nih.gov/research'). Values are integers from -5 (strong demotion) to +5 (strong boost). Most specific path match wins.
Natural language instructions to help rank results by relevance to user intent. Acts as a system prompt for the search. Max 500 characters. Ignored when fast_mode is true.
Maximum string length: 500
Example:
"Focus on oncology clinical trials from 2023 onwards"
Filter results published on or after this date. Accepts YYYY, YYYY-MM-DD or an ISO-8601 datetime. Sub-day timestamps require historical_cache: true. If set without end_date, end_date defaults to today.
Filter results published on or before this date. Accepts YYYY, YYYY-MM-DD or an ISO-8601 datetime. Sub-day timestamps require historical_cache: true. If set without start_date, start_date defaults to 1900-01-01. start_date must be on or before end_date.
Prefer cached content captured within the requested date window instead of the latest crawl. Requires a date range. With the default historical_cache_strict="prefer", a result can fall back to a live crawl when no suitable snapshot exists. Use "only" to drop results without a qualifying snapshot; neither mode guarantees complete historical coverage or reproduces an entire past search index.
Snapshot policy when historical_cache is true. "prefer" uses an in-window snapshot when available and otherwise may fall back to a live crawl. "only" drops results without a snapshot captured at or before the end-date cutoff. "off" disables strict snapshot filtering. Empty results are possible in every mode. For backtests, inspect record dates and snapshot evidence; publication-date filters alone do not establish point-in-time validity.
Expand PubMed search from papers with available full text to the complete abstract corpus. Results include the abstract and, when full text is available, the most relevant full-text chunks. Has no effect on other sources.
Keep image URLs in the content. When true (default), images stay as markdown, for example . When false, each image becomes [Image: Product photo]. The API removes the image URL and keeps the alt text. The API removes an image with no alt text. A linked image [](href) becomes [[Image: alt]](href). Other links do not change. Set false to use fewer tokens.
Coverage for Wiley Health & Life Sciences (wiley/wiley-hls) searches. hls returns licensed Wiley content only. increased_coverage blends it with open-access biomedical literature in one ranked result set. See Wiley HLS.
What the search skipped or adjusted, for example named datasets outside your plan. Present only when there is something to say. New warning types may be added at any time. See Warnings.
Receipt for a scope_policy: "strict" request. Present only for strict requests. It shows which datasets were dispatched and which returned rows. It does not certify full coverage: a dataset with no returned rows was not necessarily searched and found empty.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Valyu","colors":{"primary":"#5E3454","light":"#C7E04A","dark":"#5E3454"},"logo":{"light":"https://mintcdn.com/valyu/XSNGAn-w-x47KJwH/logo/valyu-wordmark-light.svg?fit=max\u0026auto=format\u0026n=XSNGAn-w-x47KJwH\u0026q=85\u0026s=334dd47b5c8dd1f11877b78e19848e24","dark":"https://mintcdn.com/valyu/XSNGAn-w-x47KJwH/logo/valyu-wordmark-dark.svg?fit=max\u0026auto=format\u0026n=XSNGAn-w-x47KJwH\u0026q=85\u0026s=0c6b3fd58f6d88e020a0ed506dfc7752"},"favicon":"https://mintcdn.com/valyu/ji-tdRNtRRe7QxMv/favicon.ico?fit=max\u0026auto=format\u0026n=ji-tdRNtRRe7QxMv\u0026q=85\u0026s=fef49c51724555d91437907a324be0a3","appearance":{"default":"light"},"background":{"color":{"light":"#FFFFFF","dark":"#141118"}},"navbar":{"links":[{"icon":"wave-pulse","href":"https://status.valyu.ai","label":"API status"},{"href":"/integrations/onboard-agents","label":"Connect your agents"}],"primary":{"type":"button","label":"Get an API key","href":"https://platform.valyu.ai/user/account/apikeys"}},"footer":{"socials":{"discord":"https://discord.gg/umtmSsppRY","x":"https://x.com/ValyuOfficial","github":"https://github.com/valyuAI","linkedin":"https://linkedin.com/company/valyu-ai"},"links":[{"header":"Product","items":[{"label":"Platform","href":"https://platform.valyu.ai"},{"label":"Data sources","href":"https://platform.valyu.ai/data-sources"},{"label":"Pricing","href":"https://docs.valyu.ai/pricing"}]},{"header":"Developers","items":[{"label":"API status","href":"https://status.valyu.ai"},{"label":"OpenAPI spec","href":"https://docs.valyu.ai/api-reference/openapi.json"},{"label":"Cookbook","href":"https://github.com/valyuAI/cookbook"},{"label":"All guides","href":"/guides"}]},{"header":"Company","items":[{"label":"valyu.ai","href":"https://www.valyu.ai"},{"label":"Blog","href":"https://valyu.ai/blog"},{"label":"Contact","href":"mailto:contact@valyu.ai"}]}]},"seo":{"metatags":{"viewport":"width=device-width, initial-scale=1.0","description":"Search API and agents for knowledge work.","og:type":"website","og:site_name":"Valyu","twitter:card":"summary_large_image","twitter:site":"@ValyuOfficial","twitter:creator":"@ValyuOfficial","robots":"index, follow","googlebot":"index, follow","author":"Valyu"},"organization":{"name":"Valyu","url":"https://www.valyu.ai","sameAs":["https://x.com/ValyuOfficial","https://linkedin.com/company/valyu-ai","https://github.com/valyuAI"]},"indexing":"all"},"fonts":{"family":"Schibsted Grotesk","weight":400},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"posthog":{"apiKey":"phc_5WQIKDC13UTOCbh5VHAxwaDNzGL8wdmHfXON0ErVDxM","apiHost":"https://eu.i.posthog.com","sessionRecording":true}},"contextual":{"options":["copy","view","assistant","chatgpt","claude","perplexity","mcp","add-mcp","cursor","vscode",{"title":"Open in Valyu","description":"Run this page as a query in Valyu DeepResearch","icon":"magnifying-glass","href":{"base":"https://platform.valyu.ai/playground/deepresearch","query":[{"key":"q","value":"$page"}]}},{"title":"Join our Discord","description":"Get help and discuss with the Valyu community","icon":"discord","href":"https://discord.gg/umtmSsppRY"}],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"valyu","hasAudioNarration":false,"actualSubdomain":"valyu","customDomains":["docs.valyu.ai"],"gitSource":{"type":"github","owner":"valyuai","repo":"valyu-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae5ada9c23d1566bdfae16d","collectionId":"a0e0eaf5-c318-405b-9d47-a7db3065e766","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae5ada9c23d1566bdfae16d"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{},"buildId":"6ae5ada9c23d1566bdfae16d","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Documentation","count":86},{"language":"default","tag":"Build and connect","count":38},{"language":"default","tag":"API Reference","count":30},{"language":"default","tag":"Integrations","count":18},{"language":"default","tag":"SDKs","count":18},{"language":"default","tag":"DeepResearch","count":15},{"language":"default","tag":"APIs","count":14},{"language":"default","tag":"Start here","count":11},{"language":"default","tag":"Sciences workflows","count":10},{"language":"default","tag":"Finance workflows","count":10}]},"assistantConfig":{},"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":true},"customCss":[{"filePath":"custom.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gW8tenXg.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gf8tenXg.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gY8tenXg.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gU8tenXg.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gV8tenXg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gW8tenXg.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gf8tenXg.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gY8tenXg.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gU8tenXg.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gV8tenXg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Source Serif 4';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Spline Sans Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/splinesansmono/v13/R70BjzAei_CDNLfgZxrW6wrZOF2WX5yZmF2a.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Spline Sans Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/splinesansmono/v13/R70BjzAei_CDNLfgZxrW6wrZOF2WX5KZmA.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Spline Sans Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/splinesansmono/v13/R70BjzAei_CDNLfgZxrW6wrZOF2WX5yZmF2a.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Spline Sans Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/splinesansmono/v13/R70BjzAei_CDNLfgZxrW6wrZOF2WX5KZmA.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--vx-ink:#17141A;--vx-body:#54525C;--vx-muted:#8C8A93;--vx-line:#E7E5EA;--vx-surface:#FBFAFB;--vx-wash:#F4F1F5;--vx-plum:#5E3454;--vx-plum-soft:#7D4A6F;--vx-lilac:#CBB1C4;--vx-citron:#C7E04A;--vx-citron-ink:#2C3400;--vx-display:\"Helvetica Now Display\", \"Helvetica Neue\", Helvetica, \"Schibsted Grotesk\", Arial, sans-serif;--vx-serif:\"Source Serif 4\", Georgia, serif;--vx-mono:\"Spline Sans Mono\", ui-monospace, SFMono-Regular, Menlo, monospace}.dark{--vx-ink:#F3F0F5;--vx-body:#B9B4BF;--vx-muted:#8E8995;--vx-line:#2D2832;--vx-surface:#1B171F;--vx-wash:#1E1A22;--vx-plum:#CBB1C4;--vx-plum-soft:#E2D2DE;--vx-lilac:#6E5468}::selection{background:var(--vx-citron);color:var(--vx-citron-ink)}#content-area :is(h1, h2, h3),#page-title{font-family:var(--vx-display);font-weight:500;letter-spacing:-.015em;color:var(--vx-ink)}#page-title{font-size:clamp(2rem,3.4vw,2.6rem);line-height:1.12;letter-spacing:-.022em}#content-area h2{letter-spacing:-.012em}#header .breadcrumb-item,.sidebar-group-header,.vx-label{font-family:var(--vx-mono);font-size:.72rem!important;font-weight:400;letter-spacing:.02em;text-transform:none}.sidebar-group-header{color:var(--vx-muted)!important}#content-area code:not(pre code){font-size:.86em}.nav-tabs-item .bg-primary,.nav-tabs-item .dark\\:bg-primary-light{background:var(--vx-citron)!important}.nav-tabs-item:hover>[class*=group-hover]{background:var(--vx-plum-soft)!important}.callout,.nav-tabs-item,[class*=rounded-2xl]:not([class*=navbar-primary]):not([class*=pill]),[class*=rounded-lg]:not([class*=navbar-primary]):not([class*=pill]),[class*=rounded-md],[class*=rounded-sm],[class*=rounded-xl]:not([class*=navbar-primary]):not([class*=pill]),button:not([class*=pill]):not([class*=rounded-full]),code,input[type=text],pre{border-radius:0!important}[class*=navbar-primary] a,[class*=navbar-primary] button{border-radius:0!important}a[class*=rounded-full],button[class*=rounded-full]{border-radius:9999px!important}img.nav-logo{height:17px!important}#sidebar{border-right:1px solid var(--vx-line)}#sidebar-content{padding-right:1rem}#sidebar a[aria-current=page]{box-shadow:inset 2px 0 var(--vx-citron)}#header{position:relative;padding-bottom:1.25rem;border-bottom:1px solid var(--vx-line)}#header::after{content:\"\";position:absolute;bottom:-1px;left:0;width:40px;height:2px;background:var(--vx-citron)}#content-area .card{border-color:var(--vx-line);transition:border-color .15s ease,background-color .15s ease}#content-area .card:hover{border-color:var(--vx-plum-soft);background:var(--vx-surface)}#content-area table th,.vx-source div span{font-family:var(--vx-mono);color:var(--vx-muted)}#content-area table th{font-size:.72rem;font-weight:500;letter-spacing:.02em}.vx-panel,.vx-query{border:1px solid var(--vx-line)}.vx-panel{position:relative;overflow:hidden;margin:1.75rem 0 2rem;padding:1.5rem;background:radial-gradient(120% 90% at 0% 0%,rgba(203,177,196,.28),transparent 60%),radial-gradient(90% 80% at 100% 100%,rgba(199,224,74,.2),transparent 62%),var(--vx-surface)}.dark .vx-panel{background:radial-gradient(120% 90% at 0% 0%,rgba(126,84,115,.22),transparent 60%),radial-gradient(90% 80% at 100% 100%,rgba(199,224,74,.07),transparent 62%),var(--vx-surface)}.vx-query{display:flex;align-items:center;gap:.75rem;padding:.85rem 1rem;background:rgba(255,255,255,.72);font-family:var(--vx-serif);font-size:1.05rem;color:var(--vx-ink)}.dark .vx-query{background:rgba(20,17,24,.6)}.vx-query .vx-ico{flex:0 0 18px;width:18px;height:18px;color:var(--vx-muted)}.vx-flow{display:grid;grid-template-columns:minmax(0,1fr) 44px 112px 44px minmax(0,1.08fr);height:288px;margin-top:1.25rem}.vx-stack{display:grid;gap:8px;min-width:0}.vx-sources{grid-template-rows:18px repeat(4,minmax(0,1fr))}.vx-outputs{grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}.vx-stack>.vx-label{align-self:end;line-height:1;color:var(--vx-muted)}.vx-source{display:flex;min-width:0;align-items:center;gap:.7rem;padding:.6rem .75rem;border:1px solid var(--vx-line);background:#fff}.dark .vx-output,.dark .vx-source{background:#17141b}.vx-source .vx-ico{flex:0 0 18px;width:18px;height:18px;color:var(--vx-plum)}.vx-source b{display:block;font-size:.84rem;font-weight:500;line-height:1.3;color:var(--vx-ink)}.vx-source div span{display:block;font-size:.66rem;line-height:1.4}.vx-wires{position:relative;display:block;width:100%;height:100%}.vx-wires::after,.vx-wires::before{content:\"\";position:absolute;inset:0}.vx-wires::before{background-color:var(--vx-lilac);-webkit-mask:var(--vx-wire-base) 0 0/100% 100% no-repeat;mask:var(--vx-wire-base) 0 0/100% 100% no-repeat}.vx-wires::after{background:var(--vx-wire-live) 0 0/100% 100% no-repeat}.vx-node{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:center;gap:.55rem;width:112px;height:112px;background:#17141a;color:#fff;box-shadow:0 18px 40px -22px rgba(23,20,26,.55)}.vx-node::after{content:\"\";position:absolute;top:10px;right:10px;width:5px;height:5px;background:var(--vx-citron)}.vx-node .vx-ico{width:34px;height:34px}.vx-node span:not(.vx-ico){font-family:var(--vx-serif);font-size:1.15rem;line-height:1}.dark .vx-node{background:#000;outline:1px solid var(--vx-line)}.vx-output{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:1rem 1.1rem;border:1px solid var(--vx-line);background:#fff;color:inherit;text-decoration:none!important;border-bottom-width:1px!important;border-bottom-color:var(--vx-line)!important;transition:border-color .15s ease}.vx-output:hover{border-color:var(--vx-plum-soft)!important}.vx-output .vx-label{color:var(--vx-muted)}.vx-output b{display:block;margin:.3rem 0 .25rem;font-family:var(--vx-serif);font-size:1.35rem;font-weight:400;line-height:1.15;color:var(--vx-plum)}.vx-output p{margin:0;font-size:.86rem;line-height:1.5;color:var(--vx-body)}.prose td{font-variant-numeric:normal}.vx-cr{white-space:nowrap}.vx-cr::before{content:\"\";display:inline-block;width:1em;height:1em;margin-right:.3em;vertical-align:-.15em;background-color:var(--vx-plum);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M240,132c0,19.88-35.82,36-80,36-19.6,0-37.56-3.17-51.47-8.44h0C146.76,156.85,176,142,176,124V96.72h0C212.52,100.06,240,114.58,240,132ZM176,84c0-19.88-35.82-36-80-36S16,64.12,16,84s35.82,36,80,36S176,103.88,176,84Z' opacity='0.2'/%3E%3Cpath d='M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM232,132c0,13.22-30.79,28-72,28-3.73,0-7.43-.13-11.08-.37C170.49,151.77,184,139,184,124V105.74C213.87,110.19,232,122.27,232,132ZM72,150.25V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54v23.79A163,163,0,0,1,96,152,163,163,0,0,1,72,150.25Zm96-40.32V124c0,8.39-12.41,17.4-32,22.87V123.5C148.91,120.37,159.84,115.71,168,109.93ZM96,56c41.21,0,72,14.78,72,28s-30.79,28-72,28S24,97.22,24,84,54.79,56,96,56ZM24,124V109.93c8.16,5.78,19.09,10.44,32,13.57v23.37C36.41,141.4,24,132.39,24,124Zm64,48v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41v23.46C100.41,189.4,88,180.39,88,172Zm48,26.25V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54v23.79a165.45,165.45,0,0,1-48,0Zm64-3.38V171.5c12.91-3.13,23.84-7.79,32-13.57V172C232,180.39,219.59,189.4,200,194.87Z'/%3E%3C/svg%3E\") center/contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M240,132c0,19.88-35.82,36-80,36-19.6,0-37.56-3.17-51.47-8.44h0C146.76,156.85,176,142,176,124V96.72h0C212.52,100.06,240,114.58,240,132ZM176,84c0-19.88-35.82-36-80-36S16,64.12,16,84s35.82,36,80,36S176,103.88,176,84Z' opacity='0.2'/%3E%3Cpath d='M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM232,132c0,13.22-30.79,28-72,28-3.73,0-7.43-.13-11.08-.37C170.49,151.77,184,139,184,124V105.74C213.87,110.19,232,122.27,232,132ZM72,150.25V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54v23.79A163,163,0,0,1,96,152,163,163,0,0,1,72,150.25Zm96-40.32V124c0,8.39-12.41,17.4-32,22.87V123.5C148.91,120.37,159.84,115.71,168,109.93ZM96,56c41.21,0,72,14.78,72,28s-30.79,28-72,28S24,97.22,24,84,54.79,56,96,56ZM24,124V109.93c8.16,5.78,19.09,10.44,32,13.57v23.37C36.41,141.4,24,132.39,24,124Zm64,48v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41v23.46C100.41,189.4,88,180.39,88,172Zm48,26.25V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54v23.79a165.45,165.45,0,0,1-48,0Zm64-3.38V171.5c12.91-3.13,23.84-7.79,32-13.57V172C232,180.39,219.59,189.4,200,194.87Z'/%3E%3C/svg%3E\") center/contain no-repeat}.vx-stat-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--vx-line);border:1px solid var(--vx-line);margin:1.5rem 0 2rem}.vx-stat{padding:1rem 1.1rem;background:#fff}.dark .vx-stat{background:#141118}.vx-stat .vx-label,.vx-stat b{display:block;color:var(--vx-muted)}.vx-stat b{margin-top:.35rem;font-family:var(--vx-display);font-size:1.6rem;font-weight:500;letter-spacing:-.02em;line-height:1.1;color:var(--vx-ink);font-variant-numeric:tabular-nums}.vx-stat b.vx-cr::before{width:.8em;height:.8em;margin-right:.2em;vertical-align:-.06em}.vx-stat span:not(.vx-label){display:block;margin-top:.3rem;font-size:.8rem;color:var(--vx-body)}.vx-mark{background:var(--vx-citron);color:var(--vx-citron-ink);padding:0 .12em;box-decoration-break:clone;-webkit-box-decoration-break:clone}.vx-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--vx-line);border:1px solid var(--vx-line);margin:1.5rem 0 1rem}.vx-plan{position:relative;display:flex;flex-direction:column;padding:1.25rem 1.35rem;background:#fff}.dark .vx-plan{background:#141118}.vx-plan .vx-label{color:var(--vx-muted)}.vx-plan .vx-plan-name{margin:.45rem 0 0;font-family:var(--vx-serif);font-size:1.3rem;line-height:1.2;color:var(--vx-plum)}.vx-plan .vx-price{margin:.85rem 0 .15rem;font-family:var(--vx-display);font-size:2rem;font-weight:500;letter-spacing:-.025em;line-height:1;color:var(--vx-ink);font-variant-numeric:tabular-nums}.vx-plan .vx-price-unit{font-family:inherit;font-size:.8rem;font-weight:400;letter-spacing:0;color:var(--vx-muted)}.vx-plan .vx-includes,.vx-plan li{margin:.5rem 0 .9rem;font-size:.86rem;color:var(--vx-body)}.vx-plan .vx-includes b{color:var(--vx-ink);font-weight:500}.vx-plan ul{margin:auto 0 0;padding:.85rem 0 0;border-top:1px solid var(--vx-line);list-style:none}.vx-plan li{position:relative;margin:0 0 .35rem;padding-left:1rem;font-size:.8rem;line-height:1.45}.vx-plan li::before{content:\"\";position:absolute;left:0;top:.5em;width:5px;height:5px;background:var(--vx-lilac)}.vx-plans .vx-plan-featured{background:var(--vx-surface);box-shadow:inset 0 2px 0 var(--vx-citron)}.vx-badge{display:inline-block;margin-left:.4rem;padding:.05rem .35rem;background:var(--vx-citron);color:var(--vx-citron-ink);font-family:var(--vx-mono);font-size:.62rem;letter-spacing:.02em;vertical-align:.15em}.vx-wf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--vx-line);border:1px solid var(--vx-line);margin:1.25rem 0 2.25rem}.vx-wf{display:flex;flex-direction:column;padding:1.1rem 1.25rem 1.15rem;background:#fff;text-decoration:none;transition:background-color .15s ease}.dark .vx-wf{background:#141118}.vx-wf:hover{background:var(--vx-surface)}.vx-report:last-child:nth-child(odd),.vx-wf:last-child:nth-child(odd){grid-column:1/-1}.vx-wf .vx-label{color:var(--vx-muted)}.vx-wf b{margin-top:.4rem;font-family:var(--vx-serif);font-size:1.15rem;font-weight:400;line-height:1.25;color:var(--vx-plum)}.vx-wf b::after{content:\"→\";display:inline-block;margin-left:.35em;font-family:var(--vx-display);font-size:.9em;transition:transform .15s ease}.vx-wf:hover b::after{transform:translateX(3px)}.vx-wf-desc{margin-top:.35rem;font-size:.84rem;line-height:1.5;color:var(--vx-body)}.vx-wf-ex{margin-top:auto;padding-top:.8rem;font-family:var(--vx-mono);font-size:.68rem;letter-spacing:.01em;color:var(--vx-muted)}.vx-wf-ex:not(.vx-wf-meta)::before{content:\"e.g. \"}.vx-reports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--vx-line);border:1px solid var(--vx-line);margin:1.25rem 0 2.25rem}.vx-report{display:flex;flex-direction:column;padding:1.15rem 1.25rem 1.1rem;background:#fff}.dark .vx-report{background:#141118}.vx-report .vx-label{color:var(--vx-muted)}.vx-report h3{margin:.4rem 0 0!important;font-family:var(--vx-serif)!important;font-size:1.15rem!important;font-weight:400!important;letter-spacing:0!important;line-height:1.25;color:var(--vx-plum)!important}.vx-report p{margin:.4rem 0 0;font-size:.84rem;line-height:1.5;color:var(--vx-body)}.vx-report-meta{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.75rem}.vx-report-meta span{padding:.1rem .4rem;border:1px solid var(--vx-line);font-family:var(--vx-mono);font-size:.66rem;color:var(--vx-body)}.vx-report-meta .vx-mode{background:var(--vx-citron);border-color:var(--vx-citron);color:var(--vx-citron-ink)}.vx-report-links{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:auto;padding-top:.9rem;font-size:.8rem}.vx-report-links a{color:var(--vx-plum);font-weight:500;text-decoration:none;border-bottom:1px solid var(--vx-lilac)}.vx-report-links a:hover{border-bottom-color:var(--vx-plum)}.vx-report-links a:first-child::after{content:\" →\"}@media (max-width:640px){.vx-plans,.vx-reports,.vx-stat-row,.vx-wf-grid{grid-template-columns:1fr}}@media (max-width:900px){.vx-flow{grid-template-columns:1fr;gap:1rem;height:auto}.vx-outputs,.vx-sources{grid-template-rows:none}.vx-wires{display:none}.vx-node{width:100%;height:auto;flex-direction:row;padding:.9rem}.vx-node .vx-ico{width:22px;height:22px}}@media (prefers-reduced-motion:reduce){.vx-wires::after{background-image:var(--vx-wire-still)}#content-area .card,.vx-output,.vx-wf,.vx-wf b::after{transition:none}}:is(nav[aria-label=\"Main\"], .navbar-link) a[href=\"/integrations/onboard-agents\"]::after{content:\"\";width:63px;height:18px;flex-shrink:0;margin-left:3px;background:url(/icons/agent-marks-light.svg) center/contain no-repeat}.dark :is(nav[aria-label=\"Main\"], .navbar-link) a[href=\"/integrations/onboard-agents\"]::after{background-image:url(/icons/agent-marks-dark.svg)}:is(nav[aria-label=\"Main\"], .navbar-link) a:focus-visible{outline:2px solid var(--vx-plum-soft);outline-offset:5px}#content-area a:focus-visible{outline:2px solid var(--vx-plum-soft);outline-offset:3px}.agent-deeplinks{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.25rem 0 1.5rem}.agent-deeplink{display:inline-flex;align-items:center;gap:.5rem;padding:.8rem 1.15rem;border:1px solid rgba(60,31,53,.16);background:#fff;font-size:.9375rem;font-weight:600;color:#17141a;text-decoration:none;white-space:nowrap;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease,box-shadow .15s ease}.agent-deeplink:hover{border-color:#9a6e8f;background:rgba(154,110,143,.05);color:#17141a;text-decoration:none;transform:translateY(-1px);box-shadow:0 6px 16px -8px rgba(23,20,26,.28)}.agent-mark{display:block;width:22px;height:22px;flex-shrink:0;background-color:#d97757;-webkit-mask:var(--vx-ico-src) center/contain no-repeat;mask:var(--vx-ico-src) center/contain no-repeat}.agent-mark-mono{background-color:#000}.agent-arrow{font-size:.8125rem;opacity:.35;transition:opacity .15s ease,transform .15s ease}.agent-deeplink:hover .agent-arrow{opacity:.85;transform:translate(1px,-1px)}.agent-deeplink-plain{border-style:dashed;font-weight:500;color:#6b6570}.dark .agent-deeplink{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.03);color:#e6dce3}.dark .agent-deeplink:hover{border-color:#cbb1c4;background:rgba(203,177,196,.1);color:#fff}.dark .agent-mark-mono{background-color:#fff}.dark #sidebar-content img[src$=\".png\"],.dark img[src$=\"/icons/mcp.svg\"]{filter:invert(1)}.dark .agent-deeplink-plain{color:#a9a2ae}.docs-sidebar-cta{--cta-background:#2A1524;--cta-border:rgba(255, 255, 255, 0.14);--cta-text:#FFFFFF;--cta-muted:#D8C6D3;margin-top:24px!important;padding:20px;border:1px solid var(--cta-border);border-radius:12px;background:var(--cta-background);color:var(--cta-text);font-size:14px;line-height:1.5}.docs-sidebar-cta-logo{display:block;width:100px;height:auto;margin-bottom:20px}.docs-sidebar-cta-title{margin:0 0 8px;color:var(--cta-text);font-size:20px;font-weight:600;letter-spacing:-.4px;line-height:1.3}.docs-sidebar-cta-credits,.docs-sidebar-cta-description{margin:0 0 16px;color:var(--cta-muted)}.docs-sidebar-cta-primary{font-weight:600}.docs-sidebar-cta-primary,.docs-sidebar-cta-secondary{display:flex;align-items:center;justify-content:center;position:relative;min-height:44px;padding:10px 32px;border:1px solid transparent;border-radius:6px;line-height:1.5;text-decoration:none;transition:background-color 150ms,border-color 150ms}.docs-sidebar-cta-primary{background:#c7e04a;color:#2c3400}.docs-sidebar-cta-primary:hover{background:#d6ec73;color:#2c3400}.docs-sidebar-cta-secondary{margin-top:8px;border-color:var(--cta-border);background:0 0;color:var(--cta-text);font-weight:500}.docs-sidebar-cta-secondary:hover{border-color:rgba(255,255,255,.4);background:#3c1f35;color:var(--cta-text)}.docs-sidebar-cta-primary span,.docs-sidebar-cta-secondary span{position:absolute;right:14px;font-size:16px}.docs-sidebar-cta a:focus-visible{outline:2px solid #c7e04a;outline-offset:3px}.docs-sidebar-cta-note{margin:12px 0 0;color:var(--cta-muted);font-size:12px;text-align:center}@media (prefers-reduced-motion:reduce){.docs-sidebar-cta a{transition:none}}#footer>div{padding-top:2.5rem!important;padding-bottom:1.75rem!important;gap:1.75rem!important}#footer .flex-col.gap-4{gap:.6rem!important}.vx-report .vx-report-finding{margin-top:.7rem;padding:.55rem .7rem;background:var(--vx-wash);font-size:.8rem;color:var(--vx-ink)}.vx-report .vx-report-finding .vx-label{display:block;margin-bottom:.15rem}.vx-report .vx-report-note{margin-top:.5rem;font-size:.74rem;color:var(--vx-muted)}.vx-ico{display:block;background-color:currentColor;-webkit-mask:var(--vx-ico-src) center/contain no-repeat;mask:var(--vx-ico-src) center/contain no-repeat}.vx-ico-search{--vx-ico-src:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M18 11a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z%22 /%3E%3Cpath d=%22m20 20-3.5-3.5%22 /%3E%3C/svg%3E\")}.vx-ico-globe{--vx-ico-src:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.5%22%3E%3Cpath d=%22M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z%22 /%3E%3Cpath d=%22M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3Z%22 /%3E%3C/svg%3E\")}.vx-ico-file{--vx-ico-src:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.5%22%3E%3Cpath d=%22M7 3h7l4 4v14H7z%22 /%3E%3Cpath d=%22M14 3v4h4M10 12h5M10 16h5%22 /%3E%3C/svg%3E\")}.vx-ico-book{--vx-ico-src:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.5%22%3E%3Cpath d=%22M4 5.5C6.5 4.5 9.5 4.5 12 6c2.5-1.5 5.5-1.5 8-.5V19c-2.5-1-5.5-1-8 .5-2.5-1.5-5.5-1.5-8-.5z%22 /%3E%3Cpath d=%22M12 6v13.5%22 /%3E%3C/svg%3E\")}.vx-ico-flask{--vx-ico-src:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.5%22%3E%3Cpath d=%22M9 3h6M10 3v6l-5 9a2 2 0 0 0 1.8 3h10.4a2 2 0 0 0 1.8-3l-5-9V3%22 /%3E%3Cpath d=%22M7.5 15h9%22 /%3E%3C/svg%3E\")}.vx-ico-valyu{--vx-ico-src:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linejoin=%22miter%22%3E%3Cpath d=%22M3.5 4.5h17L12 20z%22 /%3E%3C/svg%3E\")}.vx-wires-in{--vx-wire-base:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221%22%3E%3Cpath vector-effect=%22non-scaling-stroke%22 d=%22M0 19.4 C55 19.4 45 50 100 50%22 /%3E%3Cpath vector-effect=%22non-scaling-stroke%22 d=%22M0 66.2 C55 66.2 45 50 100 50%22 /%3E%3C/svg%3E\");--vx-wire-live:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22 fill=%22none%22%3E%3Cpath vector-effect=%22non-scaling-stroke%22 stroke=%22%23C7E04A%22 stroke-width=%221.5%22 stroke-dasharray=%224 8%22 d=%22M0 42.8 C55 42.8 45 50 100 50%22 /%3E%3Cpath vector-effect=%22non-scaling-stroke%22 stroke=%22%23C7E04A%22 stroke-width=%221.5%22 stroke-dasharray=%224 8%22 d=%22M0 89.6 C55 89.6 45 50 100 50%22 /%3E%3Cstyle%3Epath%7Banimation:d 1.6s linear infinite%7D%40keyframes d%7Bto%7Bstroke-dashoffset:-24%7D%7D%3C/style%3E%3C/svg%3E\");--vx-wire-still:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22 fill=%22none%22%3E%3Cpath vector-effect=%22non-scaling-stroke%22 stroke=%22%23C7E04A%22 stroke-width=%221.5%22 stroke-dasharray=%224 8%22 d=%22M0 42.8 C55 42.8 45 50 100 50%22 /%3E%3Cpath vector-effect=%22non-scaling-stroke%22 stroke=%22%23C7E04A%22 stroke-width=%221.5%22 stroke-dasharray=%224 8%22 d=%22M0 89.6 C55 89.6 45 50 100 50%22 /%3E%3C/svg%3E\")}.vx-wires-out{--vx-wire-base:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221%22%3E%3Cpath vector-effect=%22non-scaling-stroke%22 d=%22M0 50 C45 50 55 76 100 76%22 /%3E%3C/svg%3E\");--vx-wire-live:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22 fill=%22none%22%3E%3Cpath vector-effect=%22non-scaling-stroke%22 stroke=%22%23C7E04A%22 stroke-width=%221.5%22 stroke-dasharray=%224 8%22 d=%22M0 50 C45 50 55 24 100 24%22 /%3E%3Cstyle%3Epath%7Banimation:d 1.6s linear infinite%7D%40keyframes d%7Bto%7Bstroke-dashoffset:-24%7D%7D%3C/style%3E%3C/svg%3E\");--vx-wire-still:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22 fill=%22none%22%3E%3Cpath vector-effect=%22non-scaling-stroke%22 stroke=%22%23C7E04A%22 stroke-width=%221.5%22 stroke-dasharray=%224 8%22 d=%22M0 50 C45 50 55 24 100 24%22 /%3E%3C/svg%3E\")}.agent-mark-claude{--vx-ico-src:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23000%22%3E%3Cpath d=%22m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z%22 /%3E%3C/svg%3E\")}.agent-mark-codex{--vx-ico-src:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23000%22%3E%3Cpath d=%22M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z%22 /%3E%3C/svg%3E\")}.agent-mark-cursor{--vx-ico-src:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23000%22%3E%3Cpath d=%22M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23%22 /%3E%3C/svg%3E\")}"}],"page":{"pagePath":"api-reference/endpoint/search","slug":"/api-reference/endpoint/search","pageMetadata":{"title":"Search","description":"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.","og:title":"Search API reference - POST /v1/search | Valyu","og:description":"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.","twitter:title":"Search API reference - POST /v1/search | Valyu","twitter:description":"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.","keywords":"Valyu search API, POST /v1/search, search API reference, included_sources, search parameters, AI search API","openapi":"POST /v1/search","href":"/api-reference/endpoint/search"},"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: \"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Heading,Visibility}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Visibility)_missingMdxReference(`Visibility`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Retrieve ranked results with source URLs and extracted content. Use Search when your application controls the queries, evidence selection and final response.`}),`\n`,_jsx(Visibility,{for:`agents`,children:_jsxs(_components.p,{children:[`Agent note: for research, reports or any question that needs more than one search, use DeepResearch (`,_jsx(_components.code,{children:`POST /v1/deepresearch/tasks`}),`) instead of writing your own loop of Search calls. Pick a `,_jsx(_components.code,{children:`mode`}),`: `,_jsx(_components.code,{children:`instant`}),` returns a short cited answer in under 30 seconds; `,_jsx(_components.code,{children:`fast`}),`, `,_jsx(_components.code,{children:`standard`}),`, `,_jsx(_components.code,{children:`heavy`}),` and `,_jsx(_components.code,{children:`max`}),` run longer investigations that return cited reports and files. Use Search when your own model needs raw results to reason over. Docs index: `,_jsx(_components.a,{href:`https://docs.valyu.ai/llms.txt`,children:`/llms.txt`}),`. Append `,_jsx(_components.code,{children:`.md`}),` to any page URL for Markdown. Docs MCP server: `,_jsx(_components.code,{children:`https://docs.valyu.ai/mcp`}),`. Integration guide for coding agents: `,_jsx(_components.a,{href:`https://docs.valyu.ai/AGENTS.md`,children:`/AGENTS.md`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`choose-the-source-boundary`,children:`Choose the source boundary`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`search_type=\"web\"`}),` for web pages or `,_jsx(_components.code,{children:`\"news\"`}),` for news. Use `,_jsx(_components.code,{children:`included_sources`}),` to select dataset IDs, supported presets or domains. The `,_jsx(_components.code,{children:`\"proprietary\"`}),` option is the API’s name for its dataset search route; it does not mean every source contains privately owned or exclusive information.`]}),`\n`,_jsxs(_components.p,{children:[`By default, `,_jsx(_components.code,{children:`included_sources`}),` is advisory: when you list two or more dataset IDs, Valyu may search only the most relevant of them for the query. To search every listed dataset, set `,_jsx(_components.code,{children:`scope_policy: \"strict\"`}),` and pass 1-128 dataset IDs (no presets, domains or `,_jsx(_components.code,{children:`\"web\"`}),`). Strict responses include a `,_jsx(_components.code,{children:`source_scope`}),` receipt showing which datasets were searched and which returned results. A dataset with no results was not necessarily searched in full. `,_jsx(_components.code,{children:`scope_policy`}),` is not in the SDKs yet, so send it over HTTP.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`excluded_sources`}),` accepts domains, dataset IDs and preset names such as `,_jsx(_components.code,{children:`\"finance\"`}),`. `,_jsx(_components.code,{children:`site:`}),` and `,_jsx(_components.code,{children:`-site:`}),` operators in the query filter every result, web and dataset alike.`]}),`\n`,_jsxs(_components.p,{children:[`Check `,_jsx(_components.a,{href:`/api-reference/endpoint/datasources-list`,children:`available sources`}),` before relying on a dataset. Request `,_jsx(_components.code,{children:`include_abstracts=true`}),` to expand PubMed searches beyond papers with available full text. More returned characters do not guarantee access to a complete document.`]}),`\n`,_jsx(Heading,{level:`2`,id:`remove-image-links`,children:`Remove image links`}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`include_image_links`}),` to `,_jsx(_components.code,{children:`false`}),` to replace each image with its alt text. For example, `,_jsx(_components.code,{children:``}),` becomes `,_jsx(_components.code,{children:`[Image: Product photo]`}),`. The API removes an image with no alt text. Other links do not change. The default is `,_jsx(_components.code,{children:`true`}),`. See `,_jsx(_components.a,{href:`/search/tips-and-tricks#remove-image-links-to-save-tokens`,children:`remove image links`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-the-results`,children:`Use the results`}),`\n`,_jsxs(_components.p,{children:[`Keep each result’s `,_jsx(_components.code,{children:`url`}),`, `,_jsx(_components.code,{children:`source`}),` and available date alongside its `,_jsx(_components.code,{children:`content`}),`. Handle empty result sets explicitly. Read `,_jsx(_components.code,{children:`warnings`}),` too: it says what was skipped or adjusted, for example named datasets outside your plan. See `,_jsx(_components.a,{href:`/api-reference/warnings`,children:`warnings`}),`. A relevance score measures the match to a query, not the truth of a claim.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`total_deduction_dollars`}),` is the amount charged for the request and each result’s `,_jsx(_components.code,{children:`price`}),` is its share. Web results use 0.1 credits each; dataset prices are listed in `,_jsx(_components.a,{href:`/api-reference/endpoint/datasources-list`,children:`Datasources`}),`. See `,_jsx(_components.a,{href:`/pricing`,children:`pricing`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Start with a specific question and five results, then adjust source filters and result length against representative tasks. Use `,_jsx(_components.a,{href:`/api-reference/endpoint/deepresearch-create`,children:`DeepResearch`}),` when you want to run the investigation and receive a report.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Search","description":"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.","og:title":"Search API reference - POST /v1/search | Valyu","og:description":"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.","twitter:title":"Search API reference - POST /v1/search | Valyu","twitter:description":"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.","keywords":"Valyu search API, POST /v1/search, search API reference, included_sources, search parameters, AI search API","openapi":"POST /v1/search","href":"/api-reference/endpoint/search"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Choose the source boundary","slug":"choose-the-source-boundary","depth":2,"children":[]},{"title":"Remove image links","slug":"remove-image-links","depth":2,"children":[]},{"title":"Use the results","slug":"use-the-results","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/valyu/36f18cbaf7d4191d/custom.js","/_mintlify/custom/valyu/de07148e46689f3a/cta-attribution.js"],"openApiReferenceData":{"operation":{"operationId":"search","summary":"Search across web and proprietary data sources","description":"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.","tags":["Search"],"requestBody":"76e7029d-8bdf-4f5e-97f0-a332c52369a4","responses":{"200":"8a7ba57c-461f-4c2b-a359-b10ba2ef7434","206":"7b56ff61-0b8f-4f70-bd22-c7500033f092","400":"25beb183-fc84-4f29-92ad-b57caa1b32e4","401":"49954d56-00d7-4d84-b740-8d977c77b6fb","402":"b4a35b8e-eb8b-42af-b14e-d94f4b558ef1","403":"ee08698d-1c43-4f9c-b406-ccc903147a06","429":"7e74b7b8-7f87-4252-834d-0598b6bc0c72","500":"b6b8bd74-8b49-478e-9528-769a5cc1b948"},"method":"post","type":"path","servers":["41585297-00d4-4079-bb13-4f3f65df63d7"],"security":["26f0a3e6-f858-45f8-b465-8d31e691b13a"],"path":"/v1/search","baseUrlOptions":["https://api.valyu.ai"],"title":"Search across web and proprietary data sources","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["query"],"additionalProperties":false,"description":"Search request parameters.","properties":{"query":{"type":"string","description":"The search query to execute. Supports natural language queries.","example":"latest developments in quantum computing","isRequired":true,"uniqueKey":"query","typeLabel":"string"},"max_num_results":{"type":"integer","description":"Maximum number of results to return. Higher limits (up to 100) are available on request. A value above your limit is lowered to it, and the response carries a `max_num_results_capped` warning.","default":5,"minimum":1,"maximum":20,"example":10,"uniqueKey":"max_num_results","typeLabel":"integer"},"search_type":{"type":"string","description":"Controls which data sources are searched.\n\n- `all` - Web and proprietary sources (default). An LLM router selects the best sources for your query.\n- `web` - Web search only. Best for current events and general topics.\n- `proprietary` - Academic, financial, and premium sources only. Best for research and technical analysis.\n- `news` - News articles only. Best for recent news and current events.","enum":["all","web","proprietary","news"],"default":"all","example":"all","uniqueKey":"search_type","typeLabel":"enum\u003cstring>"},"max_price":{"type":"number","description":"Caps the cost of the whole request. This is not a token limit or a per-result ceiling. When omitted, the default is 1000. See [pricing](https://docs.valyu.ai/pricing).\n\nBefore searching, the request is checked against its worst-case cost and rejected with 400 (`Insufficient max_price. Search requires max_price >= X for your query`) if the budget is too low. For example, 10 web results need `max_price >= 6.25`.","minimum":0,"exclusiveMinimum":true,"example":20,"uniqueKey":"max_price","typeLabel":"number"},"relevance_threshold":{"type":"number","description":"Minimum relevance score (0.0-1.0) for results after reranking. Results below this threshold are filtered out.","default":0.5,"minimum":0,"maximum":1,"example":0.5,"uniqueKey":"relevance_threshold","typeLabel":"number"},"included_sources":{"type":"array","description":"Sources to include in the search. Accepts:\n- Domain names or URLs for web filtering (e.g. `\"arxiv.org\"`, `\"https://arxiv.org\"`)\n- Dataset identifiers for proprietary sources (e.g. `\"valyu/valyu-arxiv\"`)\n- Preset names that expand to curated source groups: `\"academic\"`, `\"finance\"`, `\"patent\"`, `\"transportation\"`, `\"politics\"`, `\"legal\"`, `\"health\"`, `\"genomics\"`, `\"chemistry\"`, `\"physics\"`\n- `\"web\"` keyword to explicitly include web search alongside proprietary sources\n- `\"collection:NAME\"` to reference an org-scoped saved source collection\n\nWith the default `scope_policy: \"advisory\"`, a list of two or more dataset IDs is treated as guidance: Valyu may search only the most relevant of them for the query. Set `scope_policy: \"strict\"` to search every listed dataset.\n\nDatasets above your plan are dropped; if none remain, the request returns 403 `tier_insufficient`. DeepResearch-only datasets are dropped when listed alongside other sources, and return 403 when they are the only sources requested.\n\nNote: most specialised and proprietary sources require a subscription. All plans include web search and open academic sources (arXiv, PubMed).","items":{"type":"string","uniqueKey":"included_sources.items.[INDEX]","typeLabel":"string"},"example":["valyu/valyu-arxiv","valyu/valyu-pubmed"],"uniqueKey":"included_sources","typeLabel":"string[]"},"excluded_sources":{"type":"array","description":"Sources to exclude from the search. Accepts domain names, URLs, dataset identifiers and preset names (e.g. `\"finance\"`, `\"academic\"`). Excluded datasets and presets are never searched. With `scope_policy: \"strict\"`, only dataset identifiers are accepted, and they are removed from the `included_sources` list.","items":{"type":"string","uniqueKey":"excluded_sources.items.[INDEX]","typeLabel":"string"},"example":["reddit.com"],"uniqueKey":"excluded_sources","typeLabel":"string[]"},"scope_policy":{"type":"string","enum":["advisory","strict"],"default":"advisory","description":"How `included_sources` is applied to datasets.\n\n- `advisory` (default) - `included_sources` guides source selection. With two or more dataset IDs, Valyu may search only the most relevant of them.\n- `strict` - search exactly the dataset IDs in `included_sources`, minus any in `excluded_sources`. Requires 1-128 dataset IDs. Presets, domains, URLs, `\"web\"` and `search_type: \"web\"` are rejected, and web search is skipped. The response includes a `source_scope` receipt.\n\nStrict errors: 400 `invalid_scope_policy` (unknown value), 400 `invalid_strict_source_scope` (missing, empty or oversized list, a non-dataset entry, or nothing left after exclusions), 400 `unsupported_strict_source` (a dataset Search cannot serve), and 403 `dataset_outside_task_scope` (a dataset outside your plan or grants; no partial fallback).\n\nNot yet in the Python or TypeScript SDKs. Send it in the request body over HTTP.","example":"strict","uniqueKey":"scope_policy","typeLabel":"enum\u003cstring>"},"source_biases":{"oneOf":[{"type":"object","description":"Bias values for specific sources to influence ranking without hard filtering. Keys are domains (e.g., 'nasa.gov') or URL paths (e.g., 'nih.gov/research'). Values are integers from -5 (strong demotion) to +5 (strong boost). Most specific path match wins.","additionalProperties":{"type":"integer","minimum":-5,"maximum":5,"uniqueKey":"source_biases.oneOf.0.additionalProperties","typeLabel":"integer"},"example":{"nasa.gov":5,"noaa.gov":3,"nih.gov":1,"example.com":-4},"uniqueKey":"source_biases.oneOf.0","typeLabel":"object"},{"type":"null","description":"Bias values for specific sources to influence ranking without hard filtering. Keys are domains (e.g., 'nasa.gov') or URL paths (e.g., 'nih.gov/research'). Values are integers from -5 (strong demotion) to +5 (strong boost). Most specific path match wins.","additionalProperties":{"type":"integer","minimum":-5,"maximum":5,"uniqueKey":"source_biases.oneOf.1.additionalProperties","typeLabel":"integer"},"example":{"nasa.gov":5,"noaa.gov":3,"nih.gov":1,"example.com":-4},"uniqueKey":"source_biases.oneOf.1","typeLabel":"null"}],"uniqueKey":"source_biases","typeLabel":"object | null"},"instructions":{"type":"string","description":"Natural language instructions to help rank results by relevance to user intent. Acts as a system prompt for the search. Max 500 characters. Ignored when fast_mode is true.","maxLength":500,"example":"Focus on oncology clinical trials from 2023 onwards","uniqueKey":"instructions","typeLabel":"string"},"category":{"type":"string","deprecated":true,"description":"**Deprecated.** Use `instructions` instead. Falls back to this value if `instructions` is not set.","maxLength":500,"uniqueKey":"category","typeLabel":"string"},"is_tool_call":{"type":"boolean","description":"Indicates whether this request originates from an AI tool call. Affects query rewriting behavior.","default":true,"uniqueKey":"is_tool_call","typeLabel":"boolean"},"response_length":{"oneOf":[{"type":"string","description":"Controls the maximum character length of content per result.\n\n- `\"short\"` - 25,000 characters (default)\n- `\"medium\"` - 50,000 characters\n- `\"large\"` - 100,000 characters\n- `\"max\"` - No limit\n- Any positive integer for a custom character limit","default":"short","enum":["short","medium","large","max"],"example":"short","uniqueKey":"response_length.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"integer","description":"Controls the maximum character length of content per result.\n\n- `\"short\"` - 25,000 characters (default)\n- `\"medium\"` - 50,000 characters\n- `\"large\"` - 100,000 characters\n- `\"max\"` - No limit\n- Any positive integer for a custom character limit","default":"short","minimum":1,"example":"short","uniqueKey":"response_length.oneOf.1","typeLabel":"integer"}],"uniqueKey":"response_length","typeLabel":"enum\u003cstring> | integer"},"start_date":{"type":"string","description":"Filter results published on or after this date. Accepts `YYYY`, `YYYY-MM-DD` or an ISO-8601 datetime. Sub-day timestamps require `historical_cache: true`. If set without `end_date`, `end_date` defaults to today.","example":"2024-01-01","uniqueKey":"start_date","typeLabel":"string"},"end_date":{"type":"string","description":"Filter results published on or before this date. Accepts `YYYY`, `YYYY-MM-DD` or an ISO-8601 datetime. Sub-day timestamps require `historical_cache: true`. If set without `start_date`, `start_date` defaults to `1900-01-01`. `start_date` must be on or before `end_date`.","example":"2024-12-31","uniqueKey":"end_date","typeLabel":"string"},"country_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code for geo-targeted web search results.","enum":["ALL","AR","AU","AT","BE","BR","CA","CL","DK","FI","FR","DE","HK","IN","ID","IT","JP","KR","MY","MX","NL","NZ","NO","CN","PL","PT","PH","RU","SA","ZA","ES","SE","CH","TW","TR","GB","US"],"example":"US","uniqueKey":"country_code","typeLabel":"enum\u003cstring>"},"fast_mode":{"type":"boolean","description":"Skip query rewriting and reranking for lower latency. Searches the web and financial data in parallel. Cannot be used with `search_type: \"proprietary\"`.","default":false,"uniqueKey":"fast_mode","typeLabel":"boolean"},"url_only":{"type":"boolean","description":"Return only URLs without full content extraction. Only available when `search_type` is `\"web\"` or `\"news\"`. Skips reranking.","default":false,"uniqueKey":"url_only","typeLabel":"boolean"},"historical_cache":{"type":"boolean","description":"Prefer cached content captured within the requested date window instead of the latest crawl. Requires a date range. With the default historical_cache_strict=\"prefer\", a result can fall back to a live crawl when no suitable snapshot exists. Use \"only\" to drop results without a qualifying snapshot; neither mode guarantees complete historical coverage or reproduces an entire past search index.","default":false,"uniqueKey":"historical_cache","typeLabel":"boolean"},"historical_cache_strict":{"type":"string","enum":["off","prefer","only"],"description":"Snapshot policy when historical_cache is true. \"prefer\" uses an in-window snapshot when available and otherwise may fall back to a live crawl. \"only\" drops results without a snapshot captured at or before the end-date cutoff. \"off\" disables strict snapshot filtering. Empty results are possible in every mode. For backtests, inspect record dates and snapshot evidence; publication-date filters alone do not establish point-in-time validity.","default":"prefer","uniqueKey":"historical_cache_strict","typeLabel":"enum\u003cstring>"},"include_abstracts":{"type":"boolean","description":"Expand PubMed search from papers with available full text to the complete abstract corpus. Results include the abstract and, when full text is available, the most relevant full-text chunks. Has no effect on other sources.","default":false,"uniqueKey":"include_abstracts","typeLabel":"boolean"},"include_image_links":{"type":"boolean","description":"Keep image URLs in the content. When `true` (default), images stay as markdown, for example ``. When `false`, each image becomes `[Image: Product photo]`. The API removes the image URL and keeps the alt text. The API removes an image with no alt text. A linked image `[](href)` becomes `[[Image: alt]](href)`. Other links do not change. Set `false` to use fewer tokens.","default":true,"uniqueKey":"include_image_links","typeLabel":"boolean"},"hls_coverage":{"type":"string","enum":["hls","increased_coverage"],"default":"hls","description":"Coverage for Wiley Health \u0026 Life Sciences (`wiley/wiley-hls`) searches. `hls` returns licensed Wiley content only. `increased_coverage` blends it with open-access biomedical literature in one ranked result set. See [Wiley HLS](https://docs.valyu.ai/guides/wiley-hls).","example":"hls","uniqueKey":"hls_coverage","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"basic":{"title":"basic","value":{"query":"latest developments in quantum computing","max_num_results":5}},"academic":{"title":"academic","value":{"query":"CRISPR gene editing clinical trials 2024","search_type":"proprietary","max_num_results":10,"included_sources":["medical"]}},"filtered":{"title":"filtered","value":{"query":"climate change impact on agriculture","included_sources":["valyu/valyu-arxiv","valyu/valyu-pubmed","valyu/valyu-biorxiv"],"start_date":"2024-01-01","end_date":"2024-12-31","max_num_results":10}},"pubmed_abstracts":{"title":"pubmed_abstracts","value":{"query":"clonal hematopoiesis cardiovascular disease","included_sources":["valyu/valyu-pubmed"],"include_abstracts":true,"max_num_results":10}},"fast":{"title":"fast","value":{"query":"Tesla stock price today","fast_mode":true,"max_num_results":5}},"strict":{"title":"strict","value":{"query":"GLP-1 receptor agonist cardiovascular outcomes","included_sources":["valyu/valyu-pubmed","valyu/valyu-arxiv"],"scope_policy":"strict","max_num_results":10}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"8a7ba57c-461f-4c2b-a359-b10ba2ef7434":{"description":"Search completed successfully with results.","content":{"application/json":{"schema":{"type":"object","description":"Search response containing results and metadata.","required":["success","tx_id","query","results","results_by_source","total_deduction_dollars","total_characters"],"properties":{"success":{"type":"boolean","description":"Whether the search completed successfully.","example":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"tx_id":{"type":"string","description":"Transaction ID for tracking and support.","example":"tx_a1b2c3d4-e5f6-7890-abcd-ef1234567890","isRequired":true,"uniqueKey":"tx_id","typeLabel":"string"},"query":{"type":"string","description":"The original query as submitted.","example":"latest developments in quantum computing","isRequired":true,"uniqueKey":"query","typeLabel":"string"},"results":{"type":"array","description":"Search results ordered by relevance.","items":{"type":"object","description":"A single search result with extracted content.","required":["id","title","url","content","source","price","length","data_type","source_type"],"properties":{"id":{"type":"string","description":"Unique identifier for this result (typically the URL).","example":"https://example.com/research/source-1","isRequired":true,"uniqueKey":"results.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","description":"Title of the source document.","example":"Illustrative source document","isRequired":true,"uniqueKey":"results.items.[INDEX].title","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL of the source document.","example":"https://example.com/research/source-1","isRequired":true,"uniqueKey":"results.items.[INDEX].url","typeLabel":"string\u003curi>"},"content":{"type":"string","description":"Extracted text content in markdown format, truncated to `response_length`.","example":"Placeholder content representing the text returned from a source.","isRequired":true,"uniqueKey":"results.items.[INDEX].content","typeLabel":"string"},"source":{"type":"string","description":"Source identifier. `\"web\"` for web results, or a proprietary source name.","example":"web","isRequired":true,"uniqueKey":"results.items.[INDEX].source","typeLabel":"string"},"price":{"type":"number","description":"Cost charged for this individual result.","example":0.000625,"isRequired":true,"uniqueKey":"results.items.[INDEX].price","typeLabel":"number"},"length":{"type":"integer","description":"Character count of the `content` field.","example":65,"isRequired":true,"uniqueKey":"results.items.[INDEX].length","typeLabel":"integer"},"data_type":{"type":"string","description":"Format of the content field.","enum":["unstructured","structured"],"example":"unstructured","isRequired":true,"uniqueKey":"results.items.[INDEX].data_type","typeLabel":"enum\u003cstring>"},"source_type":{"type":"string","description":"Classification of the source.\n\n- `website` - General web page\n- `forum` - Forum or discussion thread\n- `paper` - Academic paper\n- `data` - Structured data source\n- `report` - Report or analysis\n- `health_data` - Healthcare data\n- `clinical_trial` - Clinical trial record\n- `drug_label` - FDA drug label\n- `grants` - Research grant","enum":["website","forum","paper","data","report","health_data","clinical_trial","drug_label","grants"],"example":"website","isRequired":true,"uniqueKey":"results.items.[INDEX].source_type","typeLabel":"enum\u003cstring>"},"description":{"oneOf":[{"type":"string","description":"Short description or meta summary of the document.","example":"Illustrative metadata, not a factual research finding.","uniqueKey":"results.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Short description or meta summary of the document.","example":"Illustrative metadata, not a factual research finding.","uniqueKey":"results.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].description","typeLabel":"string | null"},"image_url":{"oneOf":[{"type":"object","description":"Image URLs associated with this result, keyed by index. `null` if no images.","example":{"0":"https://example.com/images/source-image.png"},"additionalProperties":{"type":"string","format":"uri","uniqueKey":"results.items.[INDEX].image_url.oneOf.0.additionalProperties","typeLabel":"string\u003curi>"},"uniqueKey":"results.items.[INDEX].image_url.oneOf.0","typeLabel":"object"},{"type":"string","description":"Image URLs associated with this result, keyed by index. `null` if no images.","format":"uri","example":{"0":"https://example.com/images/source-image.png"},"uniqueKey":"results.items.[INDEX].image_url.oneOf.1","typeLabel":"string\u003curi>"},{"type":"null","uniqueKey":"results.items.[INDEX].image_url.oneOf.2","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].image_url","typeLabel":"object | string\u003curi> | null"},"relevance_score":{"type":"number","description":"Relevance score from reranking (0.0-1.0). Higher is more relevant.","minimum":0,"maximum":1,"example":0.92,"uniqueKey":"results.items.[INDEX].relevance_score","typeLabel":"number"},"publication_date":{"type":"string","description":"Publication date in `YYYY-MM-DD` format, or empty string if unknown.","example":"2024-06-15","uniqueKey":"results.items.[INDEX].publication_date","typeLabel":"string"},"crawl_date":{"type":"string","description":"When the page was crawled (web results). With `historical_cache`, it is second-precision and never later than the `end_date` cutoff.","example":"2024-06-16T08:12:45Z","uniqueKey":"results.items.[INDEX].crawl_date","typeLabel":"string"},"abstract":{"type":"string","description":"Document-level abstract for academic results when available.","example":"Placeholder abstract; the actual abstract depends on the returned paper.","uniqueKey":"results.items.[INDEX].abstract","typeLabel":"string"},"doi":{"type":"string","description":"DOI identifier (academic results only).","uniqueKey":"results.items.[INDEX].doi","typeLabel":"string"},"citation":{"type":"string","description":"Citation text (academic results only).","example":"","uniqueKey":"results.items.[INDEX].citation","typeLabel":"string"},"citation_count":{"type":"integer","description":"Number of citations (academic results only).","uniqueKey":"results.items.[INDEX].citation_count","typeLabel":"integer"},"authors":{"type":"array","description":"Author names (academic results only).","items":{"type":"string","uniqueKey":"results.items.[INDEX].authors.items.[INDEX]","typeLabel":"string"},"uniqueKey":"results.items.[INDEX].authors","typeLabel":"string[]"},"references":{"type":"string","description":"References text (academic results only).","example":"","uniqueKey":"results.items.[INDEX].references","typeLabel":"string"},"metadata":{"type":"object","description":"Additional structured metadata (financial and specialized results only).","additionalProperties":true,"uniqueKey":"results.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"results","typeLabel":"object[]"},"results_by_source":{"type":"object","description":"Count of results broken down by source type.","properties":{"web":{"type":"integer","description":"Number of web results.","example":5,"uniqueKey":"results_by_source.web","typeLabel":"integer"},"proprietary":{"type":"integer","description":"Number of proprietary results.","example":3,"uniqueKey":"results_by_source.proprietary","typeLabel":"integer"}},"example":{"web":1,"proprietary":1},"isRequired":true,"uniqueKey":"results_by_source","typeLabel":"object"},"total_deduction_dollars":{"type":"number","description":"Total cost charged for this search.","example":0.0009375,"isRequired":true,"uniqueKey":"total_deduction_dollars","typeLabel":"number"},"total_characters":{"type":"integer","description":"Sum of all result content lengths in characters.","example":174,"isRequired":true,"uniqueKey":"total_characters","typeLabel":"integer"},"error":{"oneOf":[{"type":"string","description":"Error or warning message. May be non-empty even on successful responses if some sources had issues.","example":null,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Error or warning message. May be non-empty even on successful responses if some sources had issues.","example":null,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"string | null"},"warnings":{"type":"array","description":"What the search skipped or adjusted, for example named datasets outside your plan. Present only when there is something to say. New warning types may be added at any time. See [Warnings](https://docs.valyu.ai/api-reference/warnings).","items":{"type":"object","description":"Something the request skipped or adjusted. A warning means the request succeeded. New `type` values may be added at any time, so handle unknown ones by showing `message`. See [Warnings](https://docs.valyu.ai/api-reference/warnings).","required":["type","message"],"properties":{"type":{"type":"string","description":"Stable snake_case warning type, for example `datasets_not_in_plan`. New types may be added at any time.","example":"datasets_not_in_plan","isRequired":true,"uniqueKey":"warnings.items.[INDEX].type","typeLabel":"string"},"message":{"type":"string","description":"Self-contained sentence, safe to show a user or for an agent to relay as-is.","example":"Your Pay-as-you-go plan doesn't include valyu/valyu-chemrxiv (Comfortably Pro, $99/mo), so it was skipped. Results come from your other sources. Comfortably Pro ($99/mo) includes it: https://platform.valyu.ai/user/account/billing?tab=plan","isRequired":true,"uniqueKey":"warnings.items.[INDEX].message","typeLabel":"string"},"detail":{"oneOf":[{"type":"object","description":"Optional type-specific structured fields, including any URLs.","additionalProperties":true,"example":{"datasets":[{"id":"valyu/valyu-chemrxiv","required_plan":"tier_2"}],"current_plan":"tier_0","required_plan":{"id":"tier_2","name":"Comfortably Pro","price":"$99/mo"},"upgrade_url":"https://platform.valyu.ai/user/account/billing?tab=plan"},"uniqueKey":"warnings.items.[INDEX].detail.oneOf.0","typeLabel":"object"},{"type":"null","description":"Optional type-specific structured fields, including any URLs.","additionalProperties":true,"example":{"datasets":[{"id":"valyu/valyu-chemrxiv","required_plan":"tier_2"}],"current_plan":"tier_0","required_plan":{"id":"tier_2","name":"Comfortably Pro","price":"$99/mo"},"upgrade_url":"https://platform.valyu.ai/user/account/billing?tab=plan"},"uniqueKey":"warnings.items.[INDEX].detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"warnings.items.[INDEX].detail","typeLabel":"object | null"}},"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"warnings","typeLabel":"object[]"},"source_scope":{"type":"object","description":"Receipt for a `scope_policy: \"strict\"` request. Present only for strict requests. It shows which datasets were dispatched and which returned rows. It does not certify full coverage: a dataset with no returned rows was not necessarily searched and found empty.","properties":{"policy":{"type":"string","enum":["strict"],"description":"Scope policy applied.","uniqueKey":"source_scope.policy","typeLabel":"enum\u003cstring>"},"allowed_dataset_ids":{"type":"array","items":{"type":"string","uniqueKey":"source_scope.allowed_dataset_ids.items.[INDEX]","typeLabel":"string"},"description":"Datasets in scope after exclusions.","uniqueKey":"source_scope.allowed_dataset_ids","typeLabel":"string[]"},"selected_dataset_ids":{"type":"array","items":{"type":"string","uniqueKey":"source_scope.selected_dataset_ids.items.[INDEX]","typeLabel":"string"},"description":"In-scope datasets the search was dispatched to.","uniqueKey":"source_scope.selected_dataset_ids","typeLabel":"string[]"},"completed_dataset_ids":{"type":"array","items":{"type":"string","uniqueKey":"source_scope.completed_dataset_ids.items.[INDEX]","typeLabel":"string"},"description":"Datasets confirmed as fully searched. Currently always empty.","uniqueKey":"source_scope.completed_dataset_ids","typeLabel":"string[]"},"returned_dataset_ids":{"type":"array","items":{"type":"string","uniqueKey":"source_scope.returned_dataset_ids.items.[INDEX]","typeLabel":"string"},"description":"Datasets that contributed at least one returned result.","uniqueKey":"source_scope.returned_dataset_ids","typeLabel":"string[]"},"omitted_dataset_ids":{"type":"array","items":{"type":"string","uniqueKey":"source_scope.omitted_dataset_ids.items.[INDEX]","typeLabel":"string"},"description":"In-scope datasets that were not dispatched.","uniqueKey":"source_scope.omitted_dataset_ids","typeLabel":"string[]"},"selection_basis":{"type":"string","description":"How `selected_dataset_ids` was determined.","example":"dispatch_requested","uniqueKey":"source_scope.selection_basis","typeLabel":"string"},"coverage":{"type":"string","description":"Coverage claim. Currently always `unknown`.","example":"unknown","uniqueKey":"source_scope.coverage","typeLabel":"string"},"exhaustive":{"type":"boolean","description":"Whether the search is certified exhaustive. Currently always `false`.","example":false,"uniqueKey":"source_scope.exhaustive","typeLabel":"boolean"},"errors":{"type":"array","description":"One entry per dataset that failed during the search (max 32).","items":{"type":"object","properties":{"code":{"type":"string","example":"source_execution_error","uniqueKey":"source_scope.errors.items.[INDEX].code","typeLabel":"string"}},"uniqueKey":"source_scope.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"source_scope.errors","typeLabel":"object[]"}},"uniqueKey":"source_scope","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"success":{"title":"success","value":{"success":true,"error":null,"tx_id":"tx_a1b2c3d4-e5f6-7890-abcd-ef1234567890","query":"latest developments in quantum computing","results":[{"id":"https://example.com/research/source-1","title":"Illustrative research source 1","url":"https://example.com/research/source-1","content":"Illustrative source 1 text. Replace this placeholder with the actual returned evidence.","description":"Placeholder source text for the response format.","source":"web","price":0.000625,"length":87,"image_url":{},"relevance_score":0.95,"data_type":"unstructured","source_type":"website","publication_date":"2024-06-15"},{"id":"https://example.com/research/source-2","title":"Illustrative research source 2","url":"https://example.com/research/source-2","content":"Illustrative source 2 text. Replace this placeholder with the actual returned evidence.","description":"Placeholder source text for the response format.","source":"valyu/valyu-arxiv","price":0.0003125,"length":87,"image_url":{},"relevance_score":0.89,"data_type":"unstructured","source_type":"paper","publication_date":"2024-01-15"}],"results_by_source":{"web":1,"proprietary":1},"total_deduction_dollars":0.0009375,"total_characters":174}},"fast_mode":{"title":"fast_mode","value":{"success":true,"error":null,"tx_id":"tx_fast12345-6789-abcd-ef01-234567890abc","query":"Tesla stock price today","results":[{"id":"https://example.com/market-update","title":"Illustrative market update","url":"https://example.com/market-update","content":"Placeholder market information; not a live price quote.","source":"web","price":0.000625,"length":55,"data_type":"unstructured","source_type":"website"}],"results_by_source":{"web":1},"total_deduction_dollars":0.000625,"total_characters":55}},"strict_scope":{"title":"strict_scope","value":{"success":true,"error":null,"tx_id":"tx_strict12-3456-7890-abcd-ef1234567890","query":"GLP-1 receptor agonist cardiovascular outcomes","results":[{"id":"https://example.com/research/source-3","title":"Illustrative research source 3","url":"https://example.com/research/source-3","content":"Illustrative source 3 text. Replace this placeholder with the actual returned evidence.","source":"valyu/valyu-pubmed","price":0.0003125,"length":87,"data_type":"unstructured","source_type":"paper"}],"results_by_source":{"web":0,"proprietary":1},"total_deduction_dollars":0.0003125,"total_characters":87,"source_scope":{"policy":"strict","allowed_dataset_ids":["valyu/valyu-arxiv","valyu/valyu-pubmed"],"selected_dataset_ids":["valyu/valyu-arxiv","valyu/valyu-pubmed"],"completed_dataset_ids":[],"returned_dataset_ids":["valyu/valyu-pubmed"],"omitted_dataset_ids":[],"selection_basis":"dispatch_requested","coverage":"unknown","exhaustive":false,"errors":[]}}}},"exampleType":"examples"}},"exampleType":"examples"},"7b56ff61-0b8f-4f70-bd22-c7500033f092":{"description":"Partial success - some sources failed or no results found, but the request was processed.","content":{"application/json":{"schema":{"type":"object","description":"Search response containing results and metadata.","required":["success","tx_id","query","results","results_by_source","total_deduction_dollars","total_characters"],"properties":{"success":{"type":"boolean","description":"Whether the search completed successfully.","example":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"tx_id":{"type":"string","description":"Transaction ID for tracking and support.","example":"tx_a1b2c3d4-e5f6-7890-abcd-ef1234567890","isRequired":true,"uniqueKey":"tx_id","typeLabel":"string"},"query":{"type":"string","description":"The original query as submitted.","example":"latest developments in quantum computing","isRequired":true,"uniqueKey":"query","typeLabel":"string"},"results":{"type":"array","description":"Search results ordered by relevance.","items":{"type":"object","description":"A single search result with extracted content.","required":["id","title","url","content","source","price","length","data_type","source_type"],"properties":{"id":{"type":"string","description":"Unique identifier for this result (typically the URL).","example":"https://example.com/research/source-1","isRequired":true,"uniqueKey":"results.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","description":"Title of the source document.","example":"Illustrative source document","isRequired":true,"uniqueKey":"results.items.[INDEX].title","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL of the source document.","example":"https://example.com/research/source-1","isRequired":true,"uniqueKey":"results.items.[INDEX].url","typeLabel":"string\u003curi>"},"content":{"type":"string","description":"Extracted text content in markdown format, truncated to `response_length`.","example":"Placeholder content representing the text returned from a source.","isRequired":true,"uniqueKey":"results.items.[INDEX].content","typeLabel":"string"},"source":{"type":"string","description":"Source identifier. `\"web\"` for web results, or a proprietary source name.","example":"web","isRequired":true,"uniqueKey":"results.items.[INDEX].source","typeLabel":"string"},"price":{"type":"number","description":"Cost charged for this individual result.","example":0.000625,"isRequired":true,"uniqueKey":"results.items.[INDEX].price","typeLabel":"number"},"length":{"type":"integer","description":"Character count of the `content` field.","example":65,"isRequired":true,"uniqueKey":"results.items.[INDEX].length","typeLabel":"integer"},"data_type":{"type":"string","description":"Format of the content field.","enum":["unstructured","structured"],"example":"unstructured","isRequired":true,"uniqueKey":"results.items.[INDEX].data_type","typeLabel":"enum\u003cstring>"},"source_type":{"type":"string","description":"Classification of the source.\n\n- `website` - General web page\n- `forum` - Forum or discussion thread\n- `paper` - Academic paper\n- `data` - Structured data source\n- `report` - Report or analysis\n- `health_data` - Healthcare data\n- `clinical_trial` - Clinical trial record\n- `drug_label` - FDA drug label\n- `grants` - Research grant","enum":["website","forum","paper","data","report","health_data","clinical_trial","drug_label","grants"],"example":"website","isRequired":true,"uniqueKey":"results.items.[INDEX].source_type","typeLabel":"enum\u003cstring>"},"description":{"oneOf":[{"type":"string","description":"Short description or meta summary of the document.","example":"Illustrative metadata, not a factual research finding.","uniqueKey":"results.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Short description or meta summary of the document.","example":"Illustrative metadata, not a factual research finding.","uniqueKey":"results.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].description","typeLabel":"string | null"},"image_url":{"oneOf":[{"type":"object","description":"Image URLs associated with this result, keyed by index. `null` if no images.","example":{"0":"https://example.com/images/source-image.png"},"additionalProperties":{"type":"string","format":"uri","uniqueKey":"results.items.[INDEX].image_url.oneOf.0.additionalProperties","typeLabel":"string\u003curi>"},"uniqueKey":"results.items.[INDEX].image_url.oneOf.0","typeLabel":"object"},{"type":"string","description":"Image URLs associated with this result, keyed by index. `null` if no images.","format":"uri","example":{"0":"https://example.com/images/source-image.png"},"uniqueKey":"results.items.[INDEX].image_url.oneOf.1","typeLabel":"string\u003curi>"},{"type":"null","uniqueKey":"results.items.[INDEX].image_url.oneOf.2","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].image_url","typeLabel":"object | string\u003curi> | null"},"relevance_score":{"type":"number","description":"Relevance score from reranking (0.0-1.0). Higher is more relevant.","minimum":0,"maximum":1,"example":0.92,"uniqueKey":"results.items.[INDEX].relevance_score","typeLabel":"number"},"publication_date":{"type":"string","description":"Publication date in `YYYY-MM-DD` format, or empty string if unknown.","example":"2024-06-15","uniqueKey":"results.items.[INDEX].publication_date","typeLabel":"string"},"crawl_date":{"type":"string","description":"When the page was crawled (web results). With `historical_cache`, it is second-precision and never later than the `end_date` cutoff.","example":"2024-06-16T08:12:45Z","uniqueKey":"results.items.[INDEX].crawl_date","typeLabel":"string"},"abstract":{"type":"string","description":"Document-level abstract for academic results when available.","example":"Placeholder abstract; the actual abstract depends on the returned paper.","uniqueKey":"results.items.[INDEX].abstract","typeLabel":"string"},"doi":{"type":"string","description":"DOI identifier (academic results only).","uniqueKey":"results.items.[INDEX].doi","typeLabel":"string"},"citation":{"type":"string","description":"Citation text (academic results only).","example":"","uniqueKey":"results.items.[INDEX].citation","typeLabel":"string"},"citation_count":{"type":"integer","description":"Number of citations (academic results only).","uniqueKey":"results.items.[INDEX].citation_count","typeLabel":"integer"},"authors":{"type":"array","description":"Author names (academic results only).","items":{"type":"string","uniqueKey":"results.items.[INDEX].authors.items.[INDEX]","typeLabel":"string"},"uniqueKey":"results.items.[INDEX].authors","typeLabel":"string[]"},"references":{"type":"string","description":"References text (academic results only).","example":"","uniqueKey":"results.items.[INDEX].references","typeLabel":"string"},"metadata":{"type":"object","description":"Additional structured metadata (financial and specialized results only).","additionalProperties":true,"uniqueKey":"results.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"results","typeLabel":"object[]"},"results_by_source":{"type":"object","description":"Count of results broken down by source type.","properties":{"web":{"type":"integer","description":"Number of web results.","example":5,"uniqueKey":"results_by_source.web","typeLabel":"integer"},"proprietary":{"type":"integer","description":"Number of proprietary results.","example":3,"uniqueKey":"results_by_source.proprietary","typeLabel":"integer"}},"example":{"web":1,"proprietary":1},"isRequired":true,"uniqueKey":"results_by_source","typeLabel":"object"},"total_deduction_dollars":{"type":"number","description":"Total cost charged for this search.","example":0.0009375,"isRequired":true,"uniqueKey":"total_deduction_dollars","typeLabel":"number"},"total_characters":{"type":"integer","description":"Sum of all result content lengths in characters.","example":174,"isRequired":true,"uniqueKey":"total_characters","typeLabel":"integer"},"error":{"oneOf":[{"type":"string","description":"Error or warning message. May be non-empty even on successful responses if some sources had issues.","example":null,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Error or warning message. May be non-empty even on successful responses if some sources had issues.","example":null,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"string | null"},"warnings":{"type":"array","description":"What the search skipped or adjusted, for example named datasets outside your plan. Present only when there is something to say. New warning types may be added at any time. See [Warnings](https://docs.valyu.ai/api-reference/warnings).","items":{"type":"object","description":"Something the request skipped or adjusted. A warning means the request succeeded. New `type` values may be added at any time, so handle unknown ones by showing `message`. See [Warnings](https://docs.valyu.ai/api-reference/warnings).","required":["type","message"],"properties":{"type":{"type":"string","description":"Stable snake_case warning type, for example `datasets_not_in_plan`. New types may be added at any time.","example":"datasets_not_in_plan","isRequired":true,"uniqueKey":"warnings.items.[INDEX].type","typeLabel":"string"},"message":{"type":"string","description":"Self-contained sentence, safe to show a user or for an agent to relay as-is.","example":"Your Pay-as-you-go plan doesn't include valyu/valyu-chemrxiv (Comfortably Pro, $99/mo), so it was skipped. Results come from your other sources. Comfortably Pro ($99/mo) includes it: https://platform.valyu.ai/user/account/billing?tab=plan","isRequired":true,"uniqueKey":"warnings.items.[INDEX].message","typeLabel":"string"},"detail":{"oneOf":[{"type":"object","description":"Optional type-specific structured fields, including any URLs.","additionalProperties":true,"example":{"datasets":[{"id":"valyu/valyu-chemrxiv","required_plan":"tier_2"}],"current_plan":"tier_0","required_plan":{"id":"tier_2","name":"Comfortably Pro","price":"$99/mo"},"upgrade_url":"https://platform.valyu.ai/user/account/billing?tab=plan"},"uniqueKey":"warnings.items.[INDEX].detail.oneOf.0","typeLabel":"object"},{"type":"null","description":"Optional type-specific structured fields, including any URLs.","additionalProperties":true,"example":{"datasets":[{"id":"valyu/valyu-chemrxiv","required_plan":"tier_2"}],"current_plan":"tier_0","required_plan":{"id":"tier_2","name":"Comfortably Pro","price":"$99/mo"},"upgrade_url":"https://platform.valyu.ai/user/account/billing?tab=plan"},"uniqueKey":"warnings.items.[INDEX].detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"warnings.items.[INDEX].detail","typeLabel":"object | null"}},"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"warnings","typeLabel":"object[]"},"source_scope":{"type":"object","description":"Receipt for a `scope_policy: \"strict\"` request. Present only for strict requests. It shows which datasets were dispatched and which returned rows. It does not certify full coverage: a dataset with no returned rows was not necessarily searched and found empty.","properties":{"policy":{"type":"string","enum":["strict"],"description":"Scope policy applied.","uniqueKey":"source_scope.policy","typeLabel":"enum\u003cstring>"},"allowed_dataset_ids":{"type":"array","items":{"type":"string","uniqueKey":"source_scope.allowed_dataset_ids.items.[INDEX]","typeLabel":"string"},"description":"Datasets in scope after exclusions.","uniqueKey":"source_scope.allowed_dataset_ids","typeLabel":"string[]"},"selected_dataset_ids":{"type":"array","items":{"type":"string","uniqueKey":"source_scope.selected_dataset_ids.items.[INDEX]","typeLabel":"string"},"description":"In-scope datasets the search was dispatched to.","uniqueKey":"source_scope.selected_dataset_ids","typeLabel":"string[]"},"completed_dataset_ids":{"type":"array","items":{"type":"string","uniqueKey":"source_scope.completed_dataset_ids.items.[INDEX]","typeLabel":"string"},"description":"Datasets confirmed as fully searched. Currently always empty.","uniqueKey":"source_scope.completed_dataset_ids","typeLabel":"string[]"},"returned_dataset_ids":{"type":"array","items":{"type":"string","uniqueKey":"source_scope.returned_dataset_ids.items.[INDEX]","typeLabel":"string"},"description":"Datasets that contributed at least one returned result.","uniqueKey":"source_scope.returned_dataset_ids","typeLabel":"string[]"},"omitted_dataset_ids":{"type":"array","items":{"type":"string","uniqueKey":"source_scope.omitted_dataset_ids.items.[INDEX]","typeLabel":"string"},"description":"In-scope datasets that were not dispatched.","uniqueKey":"source_scope.omitted_dataset_ids","typeLabel":"string[]"},"selection_basis":{"type":"string","description":"How `selected_dataset_ids` was determined.","example":"dispatch_requested","uniqueKey":"source_scope.selection_basis","typeLabel":"string"},"coverage":{"type":"string","description":"Coverage claim. Currently always `unknown`.","example":"unknown","uniqueKey":"source_scope.coverage","typeLabel":"string"},"exhaustive":{"type":"boolean","description":"Whether the search is certified exhaustive. Currently always `false`.","example":false,"uniqueKey":"source_scope.exhaustive","typeLabel":"boolean"},"errors":{"type":"array","description":"One entry per dataset that failed during the search (max 32).","items":{"type":"object","properties":{"code":{"type":"string","example":"source_execution_error","uniqueKey":"source_scope.errors.items.[INDEX].code","typeLabel":"string"}},"uniqueKey":"source_scope.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"source_scope.errors","typeLabel":"object[]"}},"uniqueKey":"source_scope","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"tx_id":"tx_a1b2c3d4-e5f6-7890-abcd-ef1234567890","query":"latest developments in quantum computing","results":[{"id":"https://example.com/research/source-1","title":"Illustrative source document","url":"https://example.com/research/source-1","content":"Placeholder content representing the text returned from a source.","source":"web","price":0.000625,"length":65,"data_type":"unstructured","source_type":"website","description":"Illustrative metadata, not a factual research finding.","image_url":{"0":"https://example.com/images/source-image.png"},"relevance_score":0.92,"publication_date":"2024-06-15","crawl_date":"2024-06-16T08:12:45Z","abstract":"Placeholder abstract; the actual abstract depends on the returned paper.","doi":"\u003cstring>","citation":"","citation_count":123,"authors":["\u003cstring>"],"references":"","metadata":{}}],"results_by_source":{"web":1,"proprietary":1},"total_deduction_dollars":0.0009375,"total_characters":174,"error":null,"warnings":[{"type":"datasets_not_in_plan","message":"Your Pay-as-you-go plan doesn't include valyu/valyu-chemrxiv (Comfortably Pro, $99/mo), so it was skipped. Results come from your other sources. Comfortably Pro ($99/mo) includes it: https://platform.valyu.ai/user/account/billing?tab=plan","detail":{"datasets":[{"id":"valyu/valyu-chemrxiv","required_plan":"tier_2"}],"current_plan":"tier_0","required_plan":{"id":"tier_2","name":"Comfortably Pro","price":"$99/mo"},"upgrade_url":"https://platform.valyu.ai/user/account/billing?tab=plan"}}],"source_scope":{"policy":"strict","allowed_dataset_ids":["\u003cstring>"],"selected_dataset_ids":["\u003cstring>"],"completed_dataset_ids":["\u003cstring>"],"returned_dataset_ids":["\u003cstring>"],"omitted_dataset_ids":["\u003cstring>"],"selection_basis":"dispatch_requested","coverage":"unknown","exhaustive":false,"errors":[{"code":"source_execution_error"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"25beb183-fc84-4f29-92ad-b57caa1b32e4":{"description":"The request was malformed or contained invalid parameters.","content":{"application/json":{"schema":{"type":"object","description":"Error response. Every error body has `error`. Search, Contents, Answer and Datasources errors usually also carry `success: false`. Errors returned before a request reaches the endpoint (missing, invalid or disabled keys, rate limits) and DeepResearch errors have no `success` field. Some errors add a machine-readable `code` and a `recovery` object.","required":["error"],"properties":{"error":{"type":"string","description":"Error message, or a machine-readable code for some errors (for example `invalid_scope_policy`, or `rate_limited` on a `429`).","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"success":{"type":"boolean","description":"`false` when present.","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Human-readable detail. Present on errors returned before the request reaches the endpoint.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code, when available. Branch on this rather than on the message text.","example":"insufficient_credits","uniqueKey":"code","typeLabel":"string"},"recovery":{"type":"object","description":"Links or details that help resolve the error, when available.","additionalProperties":true,"uniqueKey":"recovery","typeLabel":"object"},"transaction_id":{"type":"string","description":"Transaction ID for support, when available.","uniqueKey":"transaction_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"invalid_parameter":{"title":"invalid_parameter","value":{"success":false,"error":"Invalid search_type. Must be 'all', 'web', 'proprietary', or 'news'"}},"max_price":{"title":"max_price","value":{"success":false,"error":"Insufficient max_price. Search requires max_price >= 6.25 for your query"}},"sub_day_dates":{"title":"sub_day_dates","value":{"success":false,"error":"Sub-day timestamps in start_date/end_date require historical_cache=true. Use YYYY-MM-DD for standard search."}},"invalid_scope_policy":{"title":"invalid_scope_policy","value":{"success":false,"error":"invalid_scope_policy"}},"invalid_strict_source_scope":{"title":"invalid_strict_source_scope","value":{"success":false,"error":"invalid_strict_source_scope"}},"unsupported_strict_source":{"title":"unsupported_strict_source","value":{"success":false,"error":"unsupported_strict_source"}}},"exampleType":"examples"}},"exampleType":"examples"},"49954d56-00d7-4d84-b740-8d977c77b6fb":{"description":"Missing or invalid API key. Send your key in the `X-API-Key` header.","content":{"application/json":{"schema":{"type":"object","description":"Error response. Every error body has `error`. Search, Contents, Answer and Datasources errors usually also carry `success: false`. Errors returned before a request reaches the endpoint (missing, invalid or disabled keys, rate limits) and DeepResearch errors have no `success` field. Some errors add a machine-readable `code` and a `recovery` object.","required":["error"],"properties":{"error":{"type":"string","description":"Error message, or a machine-readable code for some errors (for example `invalid_scope_policy`, or `rate_limited` on a `429`).","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"success":{"type":"boolean","description":"`false` when present.","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Human-readable detail. Present on errors returned before the request reaches the endpoint.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code, when available. Branch on this rather than on the message text.","example":"insufficient_credits","uniqueKey":"code","typeLabel":"string"},"recovery":{"type":"object","description":"Links or details that help resolve the error, when available.","additionalProperties":true,"uniqueKey":"recovery","typeLabel":"object"},"transaction_id":{"type":"string","description":"Transaction ID for support, when available.","uniqueKey":"transaction_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing_or_invalid":{"title":"missing_or_invalid","value":{"error":"Unauthorized","message":"API key is missing or invalid"}},"invalid_key":{"title":"invalid_key","value":{"success":false,"error":"Invalid API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"b4a35b8e-eb8b-42af-b14e-d94f4b558ef1":{"description":"The request can't be paid for. Nothing is charged.\n\n`code` tells you why:\n- `insufficient_credits` - the balance is used up. Top up, or wait for your plan's monthly allowance to renew.\n- `credit_limit_reached` - the organisation's optional monthly usage limit is reached. Raise the limit in the dashboard.\n- `spend_cap_reached` - this API key's budget cap is reached. Raise the key's cap or use another key.\n\nSearch, Contents and Answer return the body shown in the examples. `error` is a sentence you can relay that ends with the link that fixes it, and `recovery` repeats the links. Below the top self-serve plan, `insufficient_credits` also carries `upgrade_url`.","content":{"application/json":{"schema":{"type":"object","description":"Error response. Every error body has `error`. Search, Contents, Answer and Datasources errors usually also carry `success: false`. Errors returned before a request reaches the endpoint (missing, invalid or disabled keys, rate limits) and DeepResearch errors have no `success` field. Some errors add a machine-readable `code` and a `recovery` object.","required":["error"],"properties":{"error":{"type":"string","description":"Error message, or a machine-readable code for some errors (for example `invalid_scope_policy`, or `rate_limited` on a `429`).","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"success":{"type":"boolean","description":"`false` when present.","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Human-readable detail. Present on errors returned before the request reaches the endpoint.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code, when available. Branch on this rather than on the message text.","example":"insufficient_credits","uniqueKey":"code","typeLabel":"string"},"recovery":{"type":"object","description":"Links or details that help resolve the error, when available.","additionalProperties":true,"uniqueKey":"recovery","typeLabel":"object"},"transaction_id":{"type":"string","description":"Transaction ID for support, when available.","uniqueKey":"transaction_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"insufficient_credits":{"title":"insufficient_credits","value":{"success":false,"error":"Your credit balance is used up. Nothing was charged. Top up to continue: https://platform.valyu.ai/user/account/billing?tab=credits Monthly plans give you cheaper credits and more data sources: https://platform.valyu.ai/user/account/billing?tab=plan","code":"insufficient_credits","recovery":{"topup_url":"https://platform.valyu.ai/user/account/billing?tab=credits","topup_api":"POST https://api.valyu.ai/v1/account/balance/topup","upgrade_url":"https://platform.valyu.ai/user/account/billing?tab=plan"},"transaction_id":"tx_a1b2c3d4-e5f6-7890-abcd-ef1234567890"}},"credit_limit_reached":{"title":"credit_limit_reached","value":{"success":false,"error":"Your organisation's monthly credit limit is reached. Nothing was charged. Raise the limit to continue: https://platform.valyu.ai/user/account/billing?tab=credits","code":"credit_limit_reached","recovery":{"increase_limit_url":"https://platform.valyu.ai/user/account/billing?tab=credits"},"transaction_id":"tx_a1b2c3d4-e5f6-7890-abcd-ef1234567890"}},"spend_cap_reached":{"title":"spend_cap_reached","value":{"success":false,"error":"This API key has reached its credit cap. Nothing was charged. Raise the key's cap or use an uncapped key: https://platform.valyu.ai/user/account/apikeys","code":"spend_cap_reached","recovery":{"increase_cap_url":"https://platform.valyu.ai/user/account/apikeys"},"transaction_id":"tx_a1b2c3d4-e5f6-7890-abcd-ef1234567890"}}},"exampleType":"examples"}},"exampleType":"examples"},"ee08698d-1c43-4f9c-b406-ccc903147a06":{"description":"The key is disabled, revoked or lacks permission, or the requested sources are not available to this key.\n\n- `tier_insufficient` - every requested dataset is above your plan. If only some are, those are skipped, the rest are searched and the response carries a `datasets_not_in_plan` warning. `recovery` has `current_plan`, `required_plan` (`{id, name, price}` or `null`), `required_tier` and `upgrade_url`.\n- `dataset_unavailable` - every requested dataset is licensed or unknown. `recovery` has `current_plan`, `contact_url` and `datasources_url`.\n- `dataset_outside_task_scope` - with `scope_policy: \"strict\"`, at least one listed dataset is outside your plan or grants. Strict scope never falls back to a partial search.\n- `deepresearch_only` - every requested dataset is DeepResearch-only. Mixed with other sources, DeepResearch-only datasets are skipped with a `datasets_deepresearch_only` warning.\n\nA request over the rate limit returns `429`, not `403`.","content":{"application/json":{"schema":{"type":"object","description":"Error response. Every error body has `error`. Search, Contents, Answer and Datasources errors usually also carry `success: false`. Errors returned before a request reaches the endpoint (missing, invalid or disabled keys, rate limits) and DeepResearch errors have no `success` field. Some errors add a machine-readable `code` and a `recovery` object.","required":["error"],"properties":{"error":{"type":"string","description":"Error message, or a machine-readable code for some errors (for example `invalid_scope_policy`, or `rate_limited` on a `429`).","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"success":{"type":"boolean","description":"`false` when present.","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Human-readable detail. Present on errors returned before the request reaches the endpoint.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code, when available. Branch on this rather than on the message text.","example":"insufficient_credits","uniqueKey":"code","typeLabel":"string"},"recovery":{"type":"object","description":"Links or details that help resolve the error, when available.","additionalProperties":true,"uniqueKey":"recovery","typeLabel":"object"},"transaction_id":{"type":"string","description":"Transaction ID for support, when available.","uniqueKey":"transaction_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"forbidden":{"title":"forbidden","value":{"error":"Forbidden","message":"Access denied - API key is invalid, disabled, or revoked"}},"tier_insufficient":{"title":"tier_insufficient","value":{"success":false,"error":"Your current plan (tier_1) does not include access to: valyu/valyu-clinical-trials. Upgrade your plan to access these data sources.","code":"tier_insufficient","recovery":{"current_plan":"tier_1","required_plan":{"id":"tier_2","name":"Comfortably Pro","price":"$99/mo"},"required_tier":"tier_2","upgrade_url":"https://platform.valyu.ai/user/account/billing?tab=plan","available_datasets":["valyu/valyu-arxiv","valyu/valyu-biorxiv","valyu/valyu-medrxiv","valyu/valyu-pubmed"]}}},"dataset_outside_task_scope":{"title":"dataset_outside_task_scope","value":{"success":false,"error":"dataset_outside_task_scope"}},"deepresearch_only":{"title":"deepresearch_only","value":{"success":false,"error":"One or more requested datasets are only available through DeepResearch.","restricted_sources":["example/deepresearch-only-dataset"]}}},"exampleType":"examples"}},"exampleType":"examples"},"7e74b7b8-7f87-4252-834d-0598b6bc0c72":{"description":"Over this endpoint's rate limit for your plan. Nothing is charged. Wait `retry_after` seconds (the `Retry-After` header), then retry with backoff. See [Rate limits](https://docs.valyu.ai/api-reference/overview#rate-limits).\n\n`message` is a sentence you can relay that names the limit and how to raise it. `error` and `code` are both `rate_limited`, and `recovery` repeats `retry_after`, `plan`, `limit` and `upgrade_url` (`contact_url` on the top plans), which also stay at the top level.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","description":"Error response. Every error body has `error`. Search, Contents, Answer and Datasources errors usually also carry `success: false`. Errors returned before a request reaches the endpoint (missing, invalid or disabled keys, rate limits) and DeepResearch errors have no `success` field. Some errors add a machine-readable `code` and a `recovery` object.","required":["error"],"properties":{"error":{"type":"string","description":"Error message, or a machine-readable code for some errors (for example `invalid_scope_policy`, or `rate_limited` on a `429`).","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"success":{"type":"boolean","description":"`false` when present.","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Human-readable detail. Present on errors returned before the request reaches the endpoint.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code, when available. Branch on this rather than on the message text.","example":"insufficient_credits","uniqueKey":"code","typeLabel":"string"},"recovery":{"type":"object","description":"Links or details that help resolve the error, when available.","additionalProperties":true,"uniqueKey":"recovery","typeLabel":"object"},"transaction_id":{"type":"string","description":"Transaction ID for support, when available.","uniqueKey":"transaction_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"rate_limited":{"title":"rate_limited","value":{"error":"rate_limited","code":"rate_limited","message":"Search rate limit reached: your Pay-as-you-go plan allows 5 requests per second. Retry after 2 seconds. Upgrade to Ridiculously Cheap for 10 requests per second: https://platform.valyu.ai/user/account/billing?tab=plan","retry_after":2,"plan":"Pay-as-you-go","limit":{"endpoint":"search","requests_per_second":5},"upgrade_url":"https://platform.valyu.ai/user/account/billing?tab=plan","recovery":{"retry_after":2,"upgrade_url":"https://platform.valyu.ai/user/account/billing?tab=plan","plan":"Pay-as-you-go","limit":{"endpoint":"search","requests_per_second":5}}}}},"exampleType":"examples"}},"exampleType":"examples"},"b6b8bd74-8b49-478e-9528-769a5cc1b948":{"description":"An unexpected error occurred on the server.","content":{"application/json":{"schema":{"type":"object","description":"Error response. Every error body has `error`. Search, Contents, Answer and Datasources errors usually also carry `success: false`. Errors returned before a request reaches the endpoint (missing, invalid or disabled keys, rate limits) and DeepResearch errors have no `success` field. Some errors add a machine-readable `code` and a `recovery` object.","required":["error"],"properties":{"error":{"type":"string","description":"Error message, or a machine-readable code for some errors (for example `invalid_scope_policy`, or `rate_limited` on a `429`).","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"success":{"type":"boolean","description":"`false` when present.","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Human-readable detail. Present on errors returned before the request reaches the endpoint.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code, when available. Branch on this rather than on the message text.","example":"insufficient_credits","uniqueKey":"code","typeLabel":"string"},"recovery":{"type":"object","description":"Links or details that help resolve the error, when available.","additionalProperties":true,"uniqueKey":"recovery","typeLabel":"object"},"transaction_id":{"type":"string","description":"Transaction ID for support, when available.","uniqueKey":"transaction_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"success":false,"error":"Internal server error. Please try again later."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"26f0a3e6-f858-45f8-b465-8d31e691b13a":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication. Get yours at [platform.valyu.ai](https://platform.valyu.ai).","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"41585297-00d4-4079-bb13-4f3f65df63d7":{"url":"https://api.valyu.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication. Get yours at [platform.valyu.ai](https://platform.valyu.ai).","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"API key for authentication. Get yours at [platform.valyu.ai](https://platform.valyu.ai).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"valyu","siteName":"Valyu","title":"Search API reference - POST /v1/search | Valyu","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T18:14:05.001Z","originalFileLocation":"api-reference/endpoint/search.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=\"light\"}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=\"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Valyu\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/valyu/CrEJpfpruXuhNB-H/_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/valyu/CrEJpfpruXuhNB-H/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/valyu/CrEJpfpruXuhNB-H/_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/valyu/CrEJpfpruXuhNB-H/_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/valyu/CrEJpfpruXuhNB-H/_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/valyu/CrEJpfpruXuhNB-H/_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/valyu/CrEJpfpruXuhNB-H/_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/valyu/CrEJpfpruXuhNB-H/_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/valyu/CrEJpfpruXuhNB-H/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Search API reference - POST /v1/search | Valyu\">\u003cmeta data-mint-head property=\"og:description\" content=\"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Valyu\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.valyu.ai/api-reference/endpoint/search\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://valyu.mintlify.app/_mintlify/api/og/v2?division=Search\u0026amp;title=Search\u0026amp;description=POST+%2Fv1%2Fsearch+reference%3A+search+the+web+and+datasets+such+as+SEC+filings%2C+PubMed+and+patents.+Every+parameter%2C+source+filter%2C+response+field+and+error+code.\u0026amp;theme=5c49058aa7e20d25b5fd776c\u0026amp;signature=7183614051e8d35ee505e4c450f832cdda4553b735a696403c9a5f5acdd8d189\">\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 API reference - POST /v1/search | Valyu\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://valyu.mintlify.app/_mintlify/api/og/v2?division=Search\u0026amp;title=Search\u0026amp;description=POST+%2Fv1%2Fsearch+reference%3A+search+the+web+and+datasets+such+as+SEC+filings%2C+PubMed+and+patents.+Every+parameter%2C+source+filter%2C+response+field+and+error+code.\u0026amp;theme=5c49058aa7e20d25b5fd776c\u0026amp;signature=7183614051e8d35ee505e4c450f832cdda4553b735a696403c9a5f5acdd8d189\">\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/valyu/CrEJpfpruXuhNB-H/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Valyu\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5E3454\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@ValyuOfficial\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"author\" content=\"Valyu\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.valyu.ai/api-reference/endpoint/search\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/search.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.valyu.ai/#organization\",\"name\":\"Valyu\",\"url\":\"https://www.valyu.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/valyu/XSNGAn-w-x47KJwH/logo/valyu-wordmark-light.svg?fit=max\u0026auto=format\u0026n=XSNGAn-w-x47KJwH\u0026q=85\u0026s=334dd47b5c8dd1f11877b78e19848e24\"},\"sameAs\":[\"https://x.com/ValyuOfficial\",\"https://linkedin.com/company/valyu-ai\",\"https://github.com/valyuAI\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.valyu.ai#website\",\"name\":\"Valyu\",\"url\":\"https://docs.valyu.ai\",\"publisher\":{\"@id\":\"https://www.valyu.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.valyu.ai/api-reference/endpoint/search#webpage\",\"url\":\"https://docs.valyu.ai/api-reference/endpoint/search\",\"name\":\"Search\",\"description\":\"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.\",\"dateModified\":\"2026-10-27T18:14:05.001Z\",\"isPartOf\":{\"@id\":\"https://docs.valyu.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.valyu.ai/api-reference/endpoint/search#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.valyu.ai/api-reference/endpoint/search#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Valyu\",\"item\":\"https://docs.valyu.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Search\",\"item\":\"https://docs.valyu.ai/api-reference/endpoint/search\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.valyu.ai/api-reference/endpoint/search#apireference\",\"headline\":\"Search\",\"name\":\"Search\",\"description\":\"POST /v1/search reference: search the web and datasets such as SEC filings, PubMed and patents. Every parameter, source filter, response field and error code.\",\"url\":\"https://docs.valyu.ai/api-reference/endpoint/search\",\"mainEntityOfPage\":{\"@id\":\"https://docs.valyu.ai/api-reference/endpoint/search#webpage\"},\"dateModified\":\"2026-10-27T18:14:05.001Z\",\"publisher\":{\"@id\":\"https://www.valyu.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.valyu.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Valyu\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Valyu","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/home"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"API essentials","pages":[{"title":"API reference","sidebarTitle":"Overview","href":"/api-reference/overview"},{"title":"Warnings","description":"Valyu API warnings: how Search, Answer and DeepResearch report a request that succeeded with something skipped or adjusted, the warning shape and every warning type.","href":"/api-reference/warnings"}]},{"group":"Search","icon":"magnifying-glass","pages":[{"title":"Search","openapi":"POST /v1/search","href":"/api-reference/endpoint/search"}]},{"group":"Contents","icon":"file-lines","pages":[{"title":"Contents","description":"POST /v1/contents reference: extract clean text, summaries or structured JSON from up to 50 URLs, with sync and async modes, response fields and error codes.","openapi":"POST /v1/contents","href":"/api-reference/endpoint/contents"},{"title":"Contents Job Status","openapi":"GET /v1/contents/jobs/{job_id}","href":"/api-reference/endpoint/contents-job"}]},{"group":"Answer","icon":"message","pages":[{"title":"Answer","openapi":"POST /v1/answer","href":"/api-reference/endpoint/answer"}]},{"group":"DeepResearch","icon":"flask","pages":[{"title":"Create Task","openapi":"POST /v1/deepresearch/tasks","href":"/api-reference/endpoint/deepresearch-create"},{"title":"Get Status","openapi":"GET /v1/deepresearch/tasks/{id}/status","href":"/api-reference/endpoint/deepresearch-status"},{"title":"List Tasks","openapi":"GET /v1/deepresearch/list","href":"/api-reference/endpoint/deepresearch-list"},{"title":"Update Task","openapi":"POST /v1/deepresearch/tasks/{id}/update","href":"/api-reference/endpoint/deepresearch-update"},{"title":"Toggle Public Access","openapi":"POST /v1/deepresearch/tasks/{id}/public","href":"/api-reference/endpoint/deepresearch-public"},{"title":"Respond to HITL Checkpoint","openapi":"POST /v1/deepresearch/tasks/{id}/respond","href":"/api-reference/endpoint/deepresearch-respond"},{"title":"Cancel Task","openapi":"POST /v1/deepresearch/tasks/{id}/cancel","href":"/api-reference/endpoint/deepresearch-cancel"},{"title":"Delete Task","openapi":"DELETE /v1/deepresearch/tasks/{id}/delete","href":"/api-reference/endpoint/deepresearch-delete"}]},{"group":"DeepResearch (Batch)","icon":"layer-group","pages":[{"title":"Create Batch","openapi":"POST /v1/deepresearch/batches","href":"/api-reference/endpoint/deepresearch-batch-create"},{"title":"List Batches","openapi":"GET /v1/deepresearch/batches","href":"/api-reference/endpoint/deepresearch-batch-list"},{"title":"Get Batch Status","openapi":"GET /v1/deepresearch/batches/{id}","href":"/api-reference/endpoint/deepresearch-batch-status"},{"title":"Add Tasks to Batch","openapi":"POST /v1/deepresearch/batches/{id}/tasks","href":"/api-reference/endpoint/deepresearch-batch-add-tasks"},{"title":"List Batch Tasks","openapi":"GET /v1/deepresearch/batches/{id}/tasks","href":"/api-reference/endpoint/deepresearch-batch-list-tasks"},{"title":"Cancel Batch","openapi":"POST /v1/deepresearch/batches/{id}/cancel","href":"/api-reference/endpoint/deepresearch-batch-cancel"}]},{"group":"Workflows","icon":"diagram-project","tag":"Beta","pages":[{"title":"List Workflows","openapi":"GET /v1/workflows","href":"/api-reference/endpoint/workflows-list"},{"title":"Get Workflow","openapi":"GET /v1/workflows/{slug}","href":"/api-reference/endpoint/workflows-get"},{"title":"Create Workflow","openapi":"POST /v1/workflows","href":"/api-reference/endpoint/workflows-create"},{"title":"Update Workflow","openapi":"PATCH /v1/workflows/{slug}","href":"/api-reference/endpoint/workflows-update"},{"title":"Delete Workflow","openapi":"DELETE /v1/workflows/{slug}","href":"/api-reference/endpoint/workflows-delete"},{"title":"List Workflow Versions","openapi":"GET /v1/workflows/{slug}/versions","href":"/api-reference/endpoint/workflows-versions"},{"title":"Preview Workflow","openapi":"POST /v1/workflows/{slug}/preview","href":"/api-reference/endpoint/workflows-preview"}]},{"group":"Datasources","icon":"database","pages":[{"title":"List Datasources","openapi":"GET /v1/datasources","href":"/api-reference/endpoint/datasources-list"},{"title":"List Categories","openapi":"GET /v1/datasources/categories","href":"/api-reference/endpoint/datasources-categories"},{"title":"Search Datasources","openapi":"GET /v1/datasources/search","href":"/api-reference/endpoint/datasources-search"}]}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog/platform"}]}]},"basePath":"","title":"Search API reference - POST /v1/search | Valyu","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"]}