curl --request GET \
--url https://api.tensormesh.ai/v1/billing/spending/history \
--header 'Authorization: Bearer <token>'{
"buckets": [
{
"bucketStart": "2023-11-07T05:31:56Z",
"amount": {
"currencyCode": "<string>",
"units": "<string>",
"nanos": 123
},
"costSaving": {
"currencyCode": "<string>",
"units": "<string>",
"nanos": 123
}
}
]
}Returns last month spending buckets.
curl --request GET \
--url https://api.tensormesh.ai/v1/billing/spending/history \
--header 'Authorization: Bearer <token>'{
"buckets": [
{
"bucketStart": "2023-11-07T05:31:56Z",
"amount": {
"currencyCode": "<string>",
"units": "<string>",
"nanos": 123
},
"costSaving": {
"currencyCode": "<string>",
"units": "<string>",
"nanos": 123
}
}
]
}Bearer authentication using an access token. Format: Bearer <access_token>
The unique ID of the user.
A successful response.
GetUserSpendingHistoryResponse is the response listing spending history buckets.
Spending buckets.
Show child attributes