V1 Chat Completions

V1 chat completions endpoint with dependency-based lifecycle management. JWE token authentication. Routes legacy/utility tokens to proxy_request.

All cleanup (server slot release, billing refund, monitoring, telemetry) is guaranteed by the _bind_v1_lifecycle dependency, which runs its finally block after the full response (including streaming) is consumed.

post/v1/chat/completions

Response

Successful Response

{"stackTrail":"paths:/v1/chat/completions:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.