Skip to content
SoulFire LogoSoulFire

Complete command or chat

POST
/v1/chat:complete

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Request Body

application/json
  1. body
scope?
input?string
cursor?|null

Response Body

Successful response.

application/json
  1. response
start?integer
Formatint32
length?integer
Formatint32
suggestions?array<>
Example Request
curl -X POST 'http://127.0.0.1:38765/v1/chat:complete' \
  -H 'Content-Type: application/json' \
  -d '{
  "input": ""
}'
Example Response
{
  "start": 0,
  "length": 0,
  "suggestions": [
    {
      "text": "string",
      "tooltipJson": "string"
    }
  ]
}

Was this page helpful?