Skip to main content
POST
/
ai
/
v1
/
kallm
/
generate
Generate
curl --request POST \
  --url https://platform.ai.gloo.com/ai/v1/kallm/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string
required

Prompt to generate a response

Response

Successful Response