curl --request GET \
--url https://api.getcargo.io/v1/storage/models/existsBySlug \
--header 'Authorization: Bearer <token>'{
"exists": true
}Check if a model exists by its slug
curl --request GET \
--url https://api.getcargo.io/v1/storage/models/existsBySlug \
--header 'Authorization: Bearer <token>'{
"exists": true
}Documentation Index
Fetch the complete documentation index at: https://docs.getcargo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Model slug to check.
Dataset identifier.
^([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})$Successful response
Whether the model exists.
Was this page helpful?