curl --request POST \
--url https://api.speko.dev/v1/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"messages": [
{
"role": "system",
"content": "<string>"
}
],
"intent": {
"language": "<string>",
"vertical": "general",
"optimizeFor": "balanced"
},
"temperature": 1,
"maxTokens": 2,
"systemPrompt": "<string>",
"constraints": {
"allowedProviders": {
"stt": [
"<string>"
],
"llm": [
"<string>"
],
"tts": [
"<string>"
]
}
}
}
'