chat
Chat Completions
OpenAI-compatible chat completions endpoint.
Supports both streaming and non-streaming responses. Handles reasoning content from otari providers.
Authentication modes:
- Master key + user field: Use specified user (must exist)
- API key + user field: Use specified user (must exist)
- API key without user field: Use the shared "default" user
post/v1/chat/completions
Request body
Response
Successful Response
{"stackTrail":"paths:/v1/chat/completions:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}