`/v1/completions` — legacy OpenAI Completions (single-candidate, raw-prompt).
Changed onOpenAI-compatible legacy Completions. Strict allow-list parser: unknown top-level fields reject with 400 unsupported_field. stream: true is supported (SSE text_completion). Known-rejected fields: echo, suffix, logprobs, best_of, n > 1, batched array prompt — each rejects with 400 unsupported_field. The response body no longer carries the always-null logprobs field.
Request
- The document declares no server URL.
- Auth
- HTTP bearer
- or API key in header x-api-key
Headers
Require local serving through a current worker execution fence. A selected remote profile returns 400; no verified local worker returns retryable 503. Duplicate or other values return 400.
Request body
Response
Text completion response
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/////to the response with the status
- info
- info
added the new optional
headerrequest parameterX-SIE-Remote
- info