curl -sS -w '\n' --request POST "https://backend.overtenai.com/api/v1/llm/invoke" \
-H "X-API-Key: $OVERTEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{
"role": "user",
"content": "Say hello."
}
]
}'{
"sentiment": "positive"
}Invoke an LLM
Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key’s organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.
curl -sS -w '\n' --request POST "https://backend.overtenai.com/api/v1/llm/invoke" \
-H "X-API-Key: $OVERTEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{
"role": "user",
"content": "Say hello."
}
]
}'{
"sentiment": "positive"
}Authorizations
Send X-API-Key: sk_live_<your_key>. Keys are issued via POST /signup or via the dashboard. Legacy callers may also use Authorization: Bearer sk_live_<your_key>.
Body
1Show child attributes
Show child attributes
Show child attributes
Show child attributes
Supported model ID, or auto for backend defaults. Fallback may use another configured model.
null, DeepSeek-V4-Pro, Kimi-K2.6, auto, azure/gpt-5.4, azure/gpt-5.4-mini, claude-opus-4-6, claude-sonnet-4-6, deepseek/deepseek-v4-flash-0731, gemini-3.8-flash, qwen/qwen3.7-max, z-ai/glm-5.2, z-ai/glm-5.3-flash Optional end-user attribution; the API key's organization pays.
1Optional session for grouping usage. Does not restore conversation history.
1Response
Consumer-defined output: text/plain for text, application/json for JSON modes.
