Skip to content

AiComplete

POST
/api/ai/complete
curl --request POST \
--url https://demo.consystence.com/api/ai/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "prompt": "example", "systemPrompt": "example", "model": "example", "tier": "example", "maxTokens": 1 }'
Media typeapplication/json
object
prompt
required
string
nullable
systemPrompt
string
nullable
model
string
nullable
tier
string
nullable
maxTokens
integer format: int32
nullable
Examplegenerated
{
"prompt": "example",
"systemPrompt": "example",
"model": "example",
"tier": "example",
"maxTokens": 1
}

OK