List models
curl --request GET \
--url https://api.feyn.ai/v1/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.feyn.ai/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.feyn.ai/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"data": []
}{
"error": {
"message": "<string>",
"type": "invalid_request_error"
}
}Models
List models
The chat models this key may call that have a healthy replica right now.
GET
/
v1
/
models
List models
curl --request GET \
--url https://api.feyn.ai/v1/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.feyn.ai/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.feyn.ai/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"data": []
}{
"error": {
"message": "<string>",
"type": "invalid_request_error"
}
}⌘I