▪
List models
Lists the currently available models, and provides basic information about each one such as the owner and availability.
Example request
1
curl https://api.eye-ai.com/v1/models \
2
-H 'Authorization: Bearer YOUR_API_KEY'
Response
1
{
2
"data": [
3
{
4
"id": "model-id-0",
5
"object": "model",
6
"owned_by": "organization-owner",
7
"permission": [...]
8
},
9
{
10
"id": "model-id-1",
11
"object": "model",
12
"owned_by": "organization-owner",
13
"permission": [...]
14
},
15
{
16
"id": "model-id-2",
17
"object": "model",
18
"owned_by": "eye-ai",
19
"permission": [...]
20
},
21
],
22
"object": "list"
23
}
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
Example request
1
curl https://api.eye-ai.com/v1/models/text-ada-001 \
2
-H 'Authorization: Bearer YOUR_API_KEY'
The ID of the model to use for this request
Response
1
{
2
"id": "text-ada-001",
3
"object": "model",
4
"owned_by": "eye-ai",
5
"permission": [...]
6
}
Last modified 9mo ago