Platform
ScaiWave ScaiGrid ScaiCore ScaiBot ScaiDrive ScaiKey Models Tools & Services
Solutions
Organisations Developers Internet Service Providers Managed Service Providers AI-in-a-Box
Resources
Support Documentation Blog Downloads
Company
About Research Careers Investment Opportunities Contact
Log in

Admin — usage

2 endpoints in this group. All paths are prefixed with /api/v1.

Endpoints in this group#


GET /api/v1/admin/usage/aggregate — Admin Aggregate Usage {#get-api-v1-admin-usage-aggregate}#

Platform-wide aggregate usage statistics.

Returns total usage per service/metric across all tenants, plus the count of distinct active tenants per service.

Parameters:

  • period_type (query, string, optional)
  • authorization (header, string, optional)

Responses:

  • 200 — Successful Response. Returns: ApiResponse_dict_ — {data, meta}
  • 422 — Validation Error. Returns: HTTPValidationError — {detail}

GET /api/v1/admin/usage/tenant/{tenant_id} — Admin Tenant Usage {#get-api-v1-admin-usage-tenant-tenant-id}#

Admin view of a specific tenant's usage for the current period.

Parameters:

  • tenant_id (path, string, required)
  • period_type (query, string, optional)
  • authorization (header, string, optional)

Responses:

  • 200 — Successful Response. Returns: ApiResponse_UsageSummaryResponse_ — {data, meta}
  • 422 — Validation Error. Returns: HTTPValidationError — {detail}
Updated 2026-05-18 01:48:40 View source (.md) rev 2