DocsAPI ReferenceTerminal/bff/terminal/suggest
getTerminalAdmin BFF

/bff/terminal/suggest

Get autocomplete suggestions

TerminalgetBffTerminalSuggest

Parameters

2 query

2 total
Query · 2
inputstringRequired

Current input text in the terminal

cursorstringRequired

Cursor position index within the input

Request

GET /bff/terminal/suggest

get
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"

Response

JSON payload

{
  "suggestions": [
    {
      "value": "example_value",
      "label": "example_label",
      "description": "example_description",
      "completions": [
        "string"
      ]
    }
  ],
  "context": {
    "command": "example_command",
    "subcommand": "example_subcommand",
    "currentToken": "example_currentToken"
  }
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key