curl --request GET \
--url https://api.openpipe.ai/api/v1/models \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"id": "<string>",
"name": "<string>",
"object": "model",
"description": "<string>",
"created": "<string>",
"updated": "<string>",
"openpipe": {
"baseModel": "<string>",
"hyperparameters": {},
"status": "PENDING",
"datasetId": "<string>",
"errorMessage": "<string>"
},
"contextWindow": 123,
"maxCompletionTokens": 123,
"capabilities": [
"chat"
],
"pricing": {
"chatIn": 123,
"chatOut": 123
},
"owned_by": "<string>"
}
]
}List all models for a project.
curl --request GET \
--url https://api.openpipe.ai/api/v1/models \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"id": "<string>",
"name": "<string>",
"object": "model",
"description": "<string>",
"created": "<string>",
"updated": "<string>",
"openpipe": {
"baseModel": "<string>",
"hyperparameters": {},
"status": "PENDING",
"datasetId": "<string>",
"errorMessage": "<string>"
},
"contextWindow": 123,
"maxCompletionTokens": 123,
"capabilities": [
"chat"
],
"pricing": {
"chatIn": 123,
"chatOut": 123
},
"owned_by": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response
list Show child attributes
model Show child attributes
PENDING, TRAINING, DEPLOYED, ERROR, DEPRECATED, PENDING_DEPRECATION, QUEUED, PROVISIONING chat, tools, json