Authentication

The Sails API uses API keys to authenticate requests. You can view and manage your API keys, and create new valid keys, in the Dashboard.

Warning: Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, etc.

Sending the Key

Send your API key in the Authorization header using the Bearer scheme.

All endpoints are served from https://sails.live/api/v1.

curl -X POST https://sails.live/api/v1/predict-price \
  -H "Authorization: Bearer sails_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/image.jpg"
  }'