List models
curl --request GET \
--url https://api.altrum.ai/anthropic/v1/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.altrum.ai/anthropic/v1/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.altrum.ai/anthropic/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"data": [
{
"id": "openai/gpt-4o-mini",
"object": "model"
}
]
}{
"type": "error",
"error": {
"type": "model_blocked",
"message": "Model 'claude-opus-4' is not allowed"
},
"request_id": "4f9c..."
}{
"type": "error",
"error": {
"type": "model_blocked",
"message": "Model 'claude-opus-4' is not allowed"
},
"request_id": "4f9c..."
}Anthropic format
List models
Lists the models your key may use, narrowed to the models your organization approved.
GET
/
anthropic
/
v1
/
models
List models
curl --request GET \
--url https://api.altrum.ai/anthropic/v1/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.altrum.ai/anthropic/v1/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.altrum.ai/anthropic/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"data": [
{
"id": "openai/gpt-4o-mini",
"object": "model"
}
]
}{
"type": "error",
"error": {
"type": "model_blocked",
"message": "Model 'claude-opus-4' is not allowed"
},
"request_id": "4f9c..."
}{
"type": "error",
"error": {
"type": "model_blocked",
"message": "Model 'claude-opus-4' is not allowed"
},
"request_id": "4f9c..."
}Authorizations
bearerapiKeygoogleApiKeyaltrumKey
Your virtual key, sk-alt-.... What every OpenAI and Anthropic SDK sends.
Headers
Your own reference for the request. Altrum uses it instead of making one, and returns it.