API Reference
List models available to the API key project
GET
/
v1
/
models
List models available to the API key project
curl --request GET \
--url https://api.example.com/v1/modelsimport requests
url = "https://api.example.com/v1/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"name": "<string>",
"display_name": "<string>",
"access": {
"required_checks": [
"<string>"
],
"available": true,
"locked": true,
"missing_requirements": [
"<string>"
]
},
"created": 123,
"input_modalities": [],
"output_modalities": [],
"pricing": {
"prompt": "<string>",
"completion": "<string>",
"image": "<string>",
"request": "<string>",
"input_cache_read": "<string>"
},
"supported_sampling_parameters": [
"<string>"
],
"supported_features": [
"<string>"
],
"is_ready": true,
"quantization": "<string>",
"context_length": 123,
"max_output_length": 123,
"root": "<string>",
"object": "model",
"owned_by": "abliteration.ai",
"parent": "<string>"
}
],
"object": "list"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"param": "<string>",
"doc_url": "<string>"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"param": "<string>",
"doc_url": "<string>"
}
}Headers
Bearer API key.
API key alternative for Anthropic-compatible clients. Authorization takes precedence when both headers are present.
Last modified on August 11, 2026
⌘I
List models available to the API key project
curl --request GET \
--url https://api.example.com/v1/modelsimport requests
url = "https://api.example.com/v1/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"name": "<string>",
"display_name": "<string>",
"access": {
"required_checks": [
"<string>"
],
"available": true,
"locked": true,
"missing_requirements": [
"<string>"
]
},
"created": 123,
"input_modalities": [],
"output_modalities": [],
"pricing": {
"prompt": "<string>",
"completion": "<string>",
"image": "<string>",
"request": "<string>",
"input_cache_read": "<string>"
},
"supported_sampling_parameters": [
"<string>"
],
"supported_features": [
"<string>"
],
"is_ready": true,
"quantization": "<string>",
"context_length": 123,
"max_output_length": 123,
"root": "<string>",
"object": "model",
"owned_by": "abliteration.ai",
"parent": "<string>"
}
],
"object": "list"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"param": "<string>",
"doc_url": "<string>"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"param": "<string>",
"doc_url": "<string>"
}
}