API Explorer
Use this page to build a real request without leaving the docs. The key stays in your browser and is sent directly to https://api.rout.my/v1.
OpenAI-style messages array.
curl
curl https://api.rout.my/v1/chat/completions \
-H "Authorization: Bearer $ROUTMY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "provider/model-id",
"messages": [
{
"role": "user",
"content": "Hello from rout.my docs."
}
]
}'Response
Response appears here.TIP
Use GET /v1/models with the same key before choosing a model. rout.my does not guess a model for you because each account can have a different visible catalog.