Chat Completion
/v1/chat/completions
HTTP Request
curl https://api.stima.tech/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <STIMA_API_KEY>" \
-d '{
"model": "<MODEL_ALIAS>",
"messages": [
{
"role": "system",
"content": "<MESSAGES>"
}
]
}'
<STIMA_API_KEY>
: Your API key<MODEL_ALIAS>
: The alias of the model to use<MESSAGES>
: The messages to send to the model