Discover sources at runtime
Create an API key in the platform and setVALYU_API_KEY in your environment. The catalogue returns a datasources array with IDs, descriptions, example queries and source metadata.
Read the source metadata
Metadata varies by source. A catalogue entry is not a guarantee that every document is available, that every query returns results, or that your organization has the required entitlement.
You can filter the list by category, for example
GET /v1/datasources?category=research. Use the categories endpoint to discover category values rather than constructing them from display names.
How to target sources
Pass the returned dataset ID toincluded_sources on Search. This example selects PubMed and expands discovery to the abstract corpus:
web to include web retrieval alongside a dataset. Use collections to save an organization’s recurring source selection.
How access works
Check both the supported API and your organization’s access. A source can be present in the catalogue while requiring a different plan or separate approval. See pricing, the platform source catalogue, and the licensed-source guides. A preset or collection is a selection mechanism; it does not grant access. Do not infer a missing fact from an empty result until you have checked the source ID, endpoint support, filters and response errors.Targeting DeepResearch-only sources
If a source supports onlydeepresearch, do not send its ID to Search and expect equivalent access. Describe the required evidence in a DeepResearch task, then inspect the actual sources in the completed report. Naming a source guides the task; it does not guarantee every requested record can be retrieved.
When an entry does not establish the access you need, confirm it with the team before building around that source.
Next steps
Source filters
Select datasets, domains and presets in a request.
Evaluate retrieval
Test the evidence your application needs.
List sources API
Inspect the catalogue endpoint and response.
Source coverage
Check endpoint support, account access and freshness.