Skip to main content
Check if a file exists
curl --request GET \
  --url https://sapi.withsutro.com/storage/files/{id}/exists \
  --header 'Authorization: Bearer <token>' \
  --header 'x-sutro-api-client: <api-key>'
{
  "exists": true
}

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Path Parameters

id
string<uuid>
required

Response

200 - application/json

Existence check result

exists
boolean
required