cURL
curl --request GET \ --url https://api.tensormesh.ai/v1/billing/spending/summary \ --header 'Authorization: Bearer <token>'
{ "spend24h": { "currencyCode": "<string>", "units": "<string>", "nanos": 123 }, "spend7d": { "currencyCode": "<string>", "units": "<string>", "nanos": 123 }, "spend30d": { "currencyCode": "<string>", "units": "<string>", "nanos": 123 } }
Returns rolling-window spending totals.
Bearer authentication using an access token. Format: Bearer <access_token>
The unique ID of the user.
A successful response.
GetUserSpendingSummaryResponse is the response for spending totals.
Represents an amount of money with its currency type.
Show child attributes