Get usage snapshot
Changed onReturns customer-facing usage metrics and costs for the requested period. Supports summary totals and daily buckets for timestamped usage sources. Vault storage is intentionally omitted from totals because it is not yet periodized for arbitrary windows.
Request
- Base URLhttps://api.case.dev
- URLhttps://api.case.dev/usage/v1
- AuthHTTP bearer
Query parameters
Period start date. Defaults to the start of the current calendar month.
Period end date. Defaults to now.
Whether to return period totals only or include daily buckets.
Restrict usage to a native Linc session. The session must belong to the authenticated organization.
Optionally include usage groups keyed by native Linc session id. Only Linc-session-attributable usage is grouped.
Response
Usage snapshot retrieved successfully
Changes
- info
added the new optional
queryrequest parametergroupBy - info
added the new optional
queryrequest parameterlincSessionId - info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
endpoint added
- info