Create monthly usage snapshots
POST/v1/usage/snapshots/monthly
Creates monthly usage snapshots, single record or { records: [...] } batch up to 100 items. The natural key (organization, billing account, product, month) is unique: when present, the snapshot is overwritten (overwritten: true). Resolve the account by billing_account_id or billing_account_public_id and the product by product_slug or product_id within product_group_slug. Batches with partial failures return 207 Multi-Status.
Request
Responses
- 200
- 207
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Processing result (single record or batch).
Processing result (single record or batch).
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.