POST
/
completions
Text completions (legado)
curl --request POST \
  --url https://api.certisecure.com.br/v1/completions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "prompt": "<string>",
  "max_tokens": 123,
  "stream": false
}
'

Authorizations

Authorization
string
header
required

Use sua chave cs_live_...

Body

application/json
model
string
required
prompt
string
required
max_tokens
integer
stream
boolean
default:false

Response

200

Completion