Skip to main content
GET
/
storage
/
models
/
existsBySlug
Check model exists by slug
curl --request GET \
  --url https://api.getcargo.io/v1/storage/models/existsBySlug \
  --header 'Authorization: Bearer <token>'
{
  "exists": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

slug
string
required

Model slug to check.

datasetUuid
string
required

Dataset identifier.

Response

Successful response

exists
boolean
required

Whether the model exists.