Skip to main content
GET
/
api
/
models
Models
curl --request GET \
  --url https://api.cometapi.com/api/models \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "object": "<string>",
      "created": 123,
      "owned_by": "<string>",
      "permission": [
        {
          "id": "<string>",
          "object": "<string>",
          "created": 123,
          "allow_create_engine": true,
          "allow_sampling": true,
          "allow_logprobs": true,
          "allow_search_indices": true,
          "allow_view": true,
          "allow_fine_tuning": true,
          "organization": "<string>",
          "group": null,
          "is_blocking": true
        }
      ],
      "root": "<string>",
      "parent": null
    }
  ],
  "success": true
}

Get Models List

This endpoint retrieves information about all available models.
  • Method: GET
  • URL: https://api.cometapi.com/api/models

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your CometAPI key.

Response

200 - application/json

Successful Response

data
object[]
required

List containing model information. Each object represents an available model

success
boolean
required

Indicates whether the entire API request was successfully executed