Skip to content

Codex

Use the Responses-compatible endpoint when a Codex-style client asks for an OpenAI provider that supports wire_api = "responses".

Base settings

FieldValue
Base URLhttps://api.rout.my/v1
API keyYour rout.my key
Wire APIresponses
ModelExact 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/models to 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/completions instead.

API documentation for rout.my.