← ClaudeAtlas

responses-apilisted

Reference for the OpenAI Responses API (/v1/responses), OpenResponses open standard, and Codex CLI. Covers the request/response schema, previous_response_id, Conversations API, server-side compaction, WebSocket transport, hosted Shell tool, Skills, tool_search, MCP connectors, prompt caching, phase field, 53 typed streaming events, 10-backend support matrix (vLLM, llama.cpp, mistral.rs, Ollama, LiteLLM, SGLang, Llama Stack, TensorRT-LLM, Bifrost, Lemonade), and Chat Completions translation with 17 gotchas.
air-gapped/skills · ★ 5 · AI & Automation · score 78
Install: claude install-skill air-gapped/skills
# Responses API Reference The OpenAI Responses API (`POST /v1/responses`) is the recommended API for agentic workloads. Launched March 2025. Chat Completions is NOT deprecated, but superseded for new projects — and since 2026-07-29 OpenAI's own publications call it "our legacy Chat Completions API". **Sibling protocols in the `inference-apis` plugin.** Backend support for Responses is far thinner than for **`chat-completions-api`**, which remains the lingua franca every server implements — check that skill before assuming a target speaks Responses, and for the translation seam when it doesn't. The Anthropic-protocol equivalent is **`messages-api`**. Three protocols, one question: which surface does this backend actually serve? Codex CLI dropped Chat Completions in Feb 2026; most major clients (OpenCode, Continue.dev, Cline, Zed, Roo-Code, Vercel AI SDK 5+) now default to Responses. 10 backends serve `/v1/responses` — **Llama Stack is the only non-OpenAI backend that implements `/v1/responses/compact`**; the LiteLLM gateway exposes the route too (PR #18697, since 2026-01-06) but as pure passthrough — it only works when the upstream provider supports compaction. Full adoption timeline and per-client status in `references/adoption.md`. **Last refreshed**: 2026-07-31. ## Key Differences from Chat Completions | Aspect | Chat Completions | Responses API | |--------|------------------|---------------| | Input | `messages[]` with `role`+`content` | `input` (string or `InputItem