Respan API (gateway)
The Respan API is the gateway itself. Every request is automatically traced — no SDK or instrumentation needed.
Endpoints
POST /api/responses accepts the same Bearer key and serves OpenAI models (Claude and Gemini on that route return 400). Use /chat/completions for every other provider.
Environment switching: Respan doesn’t support an env parameter in API calls. To switch between environments (test/production), use different API keys — one for your test environment and another for production. Manage keys in API Keys settings.
Setup
Switch models
Change the model parameter to use any supported provider through the same endpoint.
Browse the full model list to see all available models.
OpenAI-compatible parameters
All standard OpenAI chat completion parameters are supported.
Respan parameters
Pass Respan-specific parameters in the request body alongside OpenAI parameters. When using the OpenAI SDK, pass them via extra_body.