Page cover image

▪️List models

Lists the currently available models, and provides basic information about each one such as the owner and availability.

Example request
curl https://api.eye-ai.com/v1/models \
  -H 'Authorization: Bearer YOUR_API_KEY'
Response
{
  "data": [
    {
      "id": "model-id-0",
      "object": "model",
      "owned_by": "organization-owner",
      "permission": [...]
    },
    {
      "id": "model-id-1",
      "object": "model",
      "owned_by": "organization-owner",
      "permission": [...]
    },
    {
      "id": "model-id-2",
      "object": "model",
      "owned_by": "eye-ai",
      "permission": [...]
    },
  ],
  "object": "list"
}

Retrieve model

Retrieves a model instance, providing basic information about the model such as the owner and permissioning.

Example request
curl https://api.eye-ai.com/v1/models/text-ada-001 \
  -H 'Authorization: Bearer YOUR_API_KEY'

Path parameters

The ID of the model to use for this request

Response
{
  "id": "text-ada-001",
  "object": "model",
  "owned_by": "eye-ai",
  "permission": [...]
}

Last updated