Parameters
2 query
Query parameters
· 2inputstringRequiredCurrent input text in the terminal
Example
ls -cursorstringRequiredCursor position index within the input
Example
42 query
inputstringRequiredCurrent input text in the terminal
ls -cursorstringRequiredCursor position index within the input
41 status code documented
suggestionsobject[]RequiredMatching autocomplete suggestions
valuestringRequiredValue to insert on completion
labelstringRequiredDisplay label for the suggestion
type"command" | "subcommand" | "param" | "flag" | "value" | "path"RequiredCategory of the suggestion
descriptionstringOptionalShort help text for the suggestion
completionsstring[]OptionalAdditional completion variants
contextobjectRequiredParsed context of the input
commandstringOptionalDetected command name
subcommandstringOptionalDetected subcommand name
currentTokenstringRequiredToken currently being typed
{
"suggestions": [
{
"value": "example_value",
"label": "example_label",
"description": "example_description",
"completions": [
"string"
]
}
],
"context": {
"command": "example_command",
"subcommand": "example_subcommand",
"currentToken": "example_currentToken"
}
}GET /bff/terminal/suggest
curl -X GET "https://api.bizkithub.com/bff/terminal/suggest?input=ls%20-&cursor=4" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.