Typeahead suggestions for indexed lexicons. Unlike garden.lexicon.browse, the query is matched against every segment-aligned suffix of an NSID, so 'feed.post' matches 'app.bsky.feed.post'. Results are sorted by NSID ascending and are not paginated.
Parameters
lexiconType
array
of string
Optional
Filter suggestions to these definition types. Repeat the parameter for multiple types. Omit to include all types.
limit
integer
Optional
Maximum number of suggestions to return.
q
string
Required
Search prefix, matched against an NSID or any of its segment-aligned suffixes.
Output
application/jsonsuggestions
array
Required
No description available.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"suggestions"
],
"properties": {
"suggestions": {
"type": "array",
"items": {
"ref": "#lexiconSuggestion",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"maxLength": 253,
"minLength": 2,
"description": "Search prefix, matched against an NSID or any of its segment-aligned suffixes."
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 20,
"minimum": 1,
"description": "Maximum number of suggestions to return."
},
"lexiconType": {
"type": "array",
"items": {
"type": "string",
"maxLength": 32,
"knownValues": [
"record",
"query",
"procedure",
"subscription",
"permission-set"
]
},
"maxLength": 5,
"description": "Filter suggestions to these definition types. Repeat the parameter for multiple types. Omit to include all types."
}
}
},
"description": "Typeahead suggestions for indexed lexicons. Unlike garden.lexicon.browse, the query is matched against every segment-aligned suffix of an NSID, so 'feed.post' matches 'app.bsky.feed.post'. Results are sorted by NSID ascending and are not paginated."
}