API reference

Get the model list

GET/v1/models

List models available to the current key in OpenAI format. The catalog respects groups, model access and available capabilities; chat models use Chat Completions.

Authentication and permissions

Use your current GloopAPI key. Available models, capabilities and permissions depend on its catalog and the endpoint documentation.

Authorization: Bearer $GLOOP_API_KEY

Authentication schemes: BearerAuth

Responses and errors

HTTP 200

Model list retrieved successfully

application/json

Type
object
  • objectstringOptional
  • dataarrayOptional
    data child fields (1)
    • []objectOptional
      [] child fields (4)
      • idstringOptional

        Model ID

      • objectstringOptional

        Object type

      • createdintegerOptional

        Creation timestamp

      • owned_bystringOptional

        Model owner

HTTP 401

Authentication failed

application/json

Type
object
  • errorobjectOptional
    error child fields (4)
    • messagestringOptional

      Error message

    • typestringOptional

      Error type

    • paramstringOptionalAllows null

      Related parameters

    • codestringOptionalAllows null

      Error code

HTTP 403

Insufficient IP, account, model, or tool permissions.

application/json

Type
object
Required fields
error

HTTP 429

Request/queue rate limit.

application/json

Type
object
Required fields
error

HTTP 500

Internal authentication or data storage failure.

application/json

Type
object
Required fields
error