LM0
API Reference API

Responses

OpenAI Responses API surface (stateless subset) on POST /v1/responses.

LM0 implements a stateless subset of the OpenAI Responses API for clients that prefer the Responses request shape.

Endpoint

HTTP 2 lines
POST /v1/responses

Authentication

HTTP 2 lines
Authorization: Bearer <api-key>

Example

Bash 8 lines
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.

LM0 · Documentation for every model you ship

api.17.wtf