List models
curl --request GET \
--url https://albus.sh/api/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://albus.sh/api/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://albus.sh/api/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"models": [
{
"name": "<string>",
"provider": "<string>"
}
]
}{
"message": "Invalid or expired token"
}Models
List models
Lists the models available to run agents on, each with the provider that serves it.
GET
/
models
List models
curl --request GET \
--url https://albus.sh/api/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://albus.sh/api/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://albus.sh/api/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"models": [
{
"name": "<string>",
"provider": "<string>"
}
]
}{
"message": "Invalid or expired token"
}