internal
Record Cluster Usage
Record per-second usage for clusters (dedicated and shared tiers). This endpoint is called by the worker's hourly usage scraping job.
Per-second billing (like AWS/GCP/Azure):
- Minimum charge: 60 seconds (1 minute)
- Billed per second after the first minute
For each cluster, records a UsageRecord with the per-second cost based on:
- Provider (hetzner, gcp, aws, azure)
- Tier (shared, testing, production)
post/internal/usage/clusters
Request
- Base URL: https://api.mengi.cloud (the document declares no server; this is the origin it was published from)
- URL: https://api.mengi.cloud/internal/usage/clusters
- Auth: none declared. Required headers: x-service-token
Headers
x-service-tokenstring required
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.