Codex
Use the Responses-compatible endpoint when a Codex-style client asks for an OpenAI provider that supports wire_api = "responses".
Base settings
| Field | Value |
|---|---|
| Base URL | https://api.rout.my/v1 |
| API key | Your rout.my key |
| Wire API | responses |
| Model | Exact model ID from /v1/models |
Example request
bash
curl https://api.rout.my/v1/responses \
-H "Authorization: Bearer $ROUTMY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "provider/model-id",
"input": "List three deployment checks."
}'Notes
- Use
/v1/modelsto copy the exact model ID. - Treat responses as stateless unless your client stores conversation state.
- If a client supports only Chat Completions, use
/v1/chat/completionsinstead.