List Base URLs
Last updated October 29, 2026
Return the API base URLs currently in service, for clients that need fallback addresses.
Returns the API base URLs currently in service. The default base URL is listed first; the others are fallbacks.
GET
https://gateway.amux.ai/v1/endpointsAuthorization
headerAuthorizationstringRequiredBearer <your Amux AI key> An Amux key created in the console. If you lose it, you can view it again on the keys page.
Response
200responseBase URLs in service.
401responseMissing or invalid key.
Notes
baseUrlalready includes/v1and can be used directly as the OpenAI SDKbase_url. The Anthropic and Gemini SDKs take the hostname alone; see the Overview.- Results are cached for up to 60 seconds.
- Typical uses: switching to a fallback when the default base URL is unreachable, or retrieving the current public base URLs in operations scripts.
cURL
curl https://gateway.amux.ai/v1/endpoints \
-H "Authorization: Bearer $AMUX_API_KEY"{
"data": [
{
"baseUrl": "https://gateway.amux.ai/v1",
"hostname": "gateway.amux.ai",
"isDefault": true
}
]
}