API Reference API
Responses
OpenAI Responses API surface (stateless subset) on POST /v1/responses.
On this page (6)
LM0 implements a stateless subset of the OpenAI Responses API for clients that prefer the Responses request shape.
Endpoint
POST /v1/responses
Authentication
Authorization: Bearer <api-key>
Example
curl https://api.17.wtf/v1/responses \
-H "Authorization: Bearer $LM0_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "your-pool/your-model",
"input": "Write a haiku about gateways."
}'
How it works
Inbound Responses payloads are converted into the gateway’s canonical chat-style generation path, then serialized back into a Responses-compatible result. This keeps routing, metering, and provider adapters consistent with Chat Completions and Messages.
Scope notes
- Prefer Chat Completions if you need the broadest OpenAI client ecosystem support
- Not every Responses field or stateful feature is implemented
- Subject to maintenance pause like other generation endpoints
See Compatibility for known limitations.