suggest_datasets_v1_search_suggest_get
Retrieves autocomplete suggestions for dataset names matching a given prefix, enabling typeahead search in data portals.
Instructions
GET /v1/search/suggest (public) — Suggest Datasets — Get autocomplete suggestions for search typeahead.
Returns dataset names that start with the given prefix, for use in search input autocomplete. Only returns datasets with status='ready'.
Response:
suggestions: List of matching datasets with name, slug, provider, and pathquery: The prefix echoed back
Example:
GET /v1/search/suggest?q=con might return suggestions like
"Consumer Price Index", "Congressional Budget Data", etc.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "suggest_datasets_v1_search_suggest_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Prefix to match against dataset names for autocomplete | |
| limit | No | Maximum number of suggestions to return (1-10) |