Skip to content
  • Auto
  • Light
  • Dark

List

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

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

Returns
dataarray of object
Hide ParametersShow Parameters
idstring

The model identifier, which can be referenced in the API endpoints.

creatednumber

The Unix timestamp (in seconds) when the model was created.

objectenum
"model"

The object type, which is always "model".

Hide ParametersShow Parameters
"model"
owned_bystring

The organization that owns the model.

objectenum
"list"
Hide ParametersShow Parameters
"list"
curl https://api.digitalocean.com//models \
    -H "Authorization: Bearer $GRADIENTAI_API_KEY"
200 Example
{
  "data": [
    {
      "id": "id",
      "created": 0,
      "object": "model",
      "owned_by": "owned_by"
    }
  ],
  "object": "list"
}