Search
Global search suggestions and navigation entries.
GET /api/v1/search/suggestions
Returns typeahead suggestions for global search, including matching modules, species, and navigation entry points.
curl "https://api.ilepbase.com/api/v1/search/suggestions?q=Papilio&limit=10"Query Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
q | string | Yes | — | Search keyword. Minimum length: 2 characters. |
limit | int | No | 10 | Maximum results (max 20). |
group | string | No | — | Suggestion group filter, such as Taxonomy or Genome. |
Response
{
"success": true,
"data": {
"items": [
{
"id": "module-genomes",
"label": "Genome",
"description": "Browse assembly metrics and downloadable genome assets.",
"href": "/genome",
"group": "Genome",
"external": false
},
{
"id": "species-papilio-xuthus",
"label": "Papilio xuthus",
"description": "Representative species node under Papilionidae.",
"href": "/taxonomy",
"group": "Taxonomy",
"external": false
}
]
},
"timestamp": "2026-04-23T12:00:00.000Z"
}For taxonomy full-text and prefix search, see Taxonomy.