API reference

Get model details

GET/v1/models/{model}

Read details of the specified public model available to the current key; model availability and actual endpoint capabilities must still be confirmed separately.

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

Request

Path parameters

  • modelstringRequired

    A model ID from the current key’s catalog; model detail paths accept one path segment only.

Responses and errors

HTTP 200

Request succeeded.

application/json

Type
object
  • idstringOptional

    Model ID

  • objectstringOptional

    Object type

  • createdintegerOptional

    Creation timestamp

  • owned_bystringOptional

    Model owner

HTTP 401

The key is missing, invalid, expired, or revoked.

application/json

Type
object
Required fields
error

HTTP 403

Insufficient IP, account, model, or tool permissions.

application/json

Type
object
Required fields
error

HTTP 404

Object or capability unavailable.

application/json

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

      Error message

    • typestringOptional

      Error type

    • paramstringOptionalAllows null

      Related parameters

    • codestringOptionalAllows null

      Error code

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