https://api.sansaml.com/v1 is now a drop-in host for the OpenAI Responses API alongside Chat Completions, and we shipped @sansaai/setup to configure coding agents to use Sansa in one command.
POST /v1/responses— same request body, sameoutputitems, and the same SSE event names as OpenAI. Official OpenAI SDKs pointed at Sansa can callclient.responses.create()with no custom client, includingsansa-autorouting, function tools, reasoning items, structured JSON output, images, and streaming- Stateless by design — every request is self-contained; send the full history in
input.store: trueandprevious_response_idare rejected with a clear400rather than silently ignored @sansaai/setup—npx -y @sansaai/setup --api-key sk-...stores your API key, writes OpenAI-compatible provider config for Codex and OpenCode, and installs a Sansa skill for Claude Code, Cursor, Codex, and OpenCode, all defaulting tosansa-auto
See the Responses API guide for the full compatibility matrix.