Skip to main content
GET
/
storage
/
columns
/
existsBySlug
Check column exists by slug
curl --request GET \
  --url https://api.getcargo.io/v1/storage/columns/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

modelUuid
string<uuid>
required

Model 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})$
slug
string
required

Column slug to check.

Response

Successful response

exists
boolean
required

Whether the column exists.