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<uuid>
required

Dataset identifier.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$

Response

Successful response

exists
boolean
required

Whether the model exists.