Docs menu

List Services

Returns the set of generation endpoints enabled for your account, along with per-endpoint rate limits and constraints.

GET/v1/account/services
curl https://api.sonilo.com/v1/account/services \
  -H "Authorization: Bearer sk_your_api_key"
{
  "available_services": ["video-to-music", "text-to-music"],
  "rpm_limit": 60,
  "concurrency_limit": 4,
  "discount_factor": 1.0,
  "max_upload_size_mb": 300
}

Authorization

Authenticate via Bearer token. Generate keys at the API Keys page and pass them in the Authorization header on every request.

Authorization: Bearer sk_your_api_key

Response

available_servicesstring[]
Generation endpoints currently enabled for the account. Each value is a service slug, e.g. "text-to-music".
rpm_limitinteger
Maximum requests per minute permitted across all endpoints.
concurrency_limitinteger
Maximum number of in-flight requests permitted at once.
discount_factornumber
Multiplier applied to the published per-second cost. 1.0 means no discount.
max_upload_size_mbinteger
Maximum permitted upload size for any single request, in megabytes.