Skip to main content
GET
/
v1
/
models
List models
curl --request GET \
  --url https://api.dgrid.ai/v1/models \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "success": true,
  "data": [
    {
      "id": "<string>",
      "object": "<string>",
      "created": 123,
      "owned_by": "<string>",
      "supported_endpoint_types": [
        "<string>"
      ]
    }
  ],
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Your DGrid API key. All endpoints use Authorization: Bearer <DGRID_API_KEY>.

Response

Model list.

object
string

Always list.

success
boolean

Whether the request succeeded.

data
object[]

List of model objects visible to the current API key.

message
string

Error description when success is false.