v1
latestOpenAPI 3.1.02026-07-2676188241.3 KBCompletions
Create completion
Creates a text completion for the given prompt. Supports streaming via SSE.
post/completions
Request body
Response
Successful response. For non-streaming requests, returns a complete text completion. For streaming requests, returns Server-Sent Events (SSE) with incremental text chunks. Terminates with data: [DONE].