Respan API (gateway)
Respan API (gateway)
Endpoints
The one-key OpenAI-compatible route verified for these setup examples is Chat Completions. Live verification with a Respan gateway key returned a provider-credential error on /api/responses; use /chat/completions unless Responses API access is configured for your key.
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.