Skip to main content

Documentation Index

Fetch the complete documentation index at: https://sailia-mintlify-intercom-migration-1775615253.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The Sailia API gives you programmatic access to bookings, baskets, products, usage meters, and more. All endpoints are served over HTTPS and return JSON responses.

Authentication

All API requests require a Bearer token in the Authorization header:
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
  https://api.sailia.com/api/v2/usage/meters
Contact the Sailia team to obtain an API token for your account.

Base URL

https://api.sailia.com/api/v2

Error format

All error responses follow the RFC 7807 problem detail format:
{
  "type": "https://sailia.dev/problems/validation",
  "title": "Unprocessable Entity",
  "status": 422,
  "detail": "Meter is required",
  "instance": "/api/v2/usage/meters"
}

Available resources

Meter usage tracking

Record consumption events and query aggregated usage summaries.