GET
/
v2
/
usage
curl --request GET \
  --url https://mango.sievedata.com/v2/usage \
  --header 'X-API-Key: <api-key>'
{
  "cpu": {
    "cost_dollars": 14.74,
    "compute_seconds": 1192.671
  },
  "t4": {
    "cost_dollars": 8.83,
    "compute_seconds": 31474.757
  },
  "total_compute_seconds": 32667.428,
  "total_cost_dollars": 23.57
}

Request

This endpoint retrieves usage statistics for your organization, filtered by the provided start and end timestamps.

start_timestamp
int

The start timestamp for filtering the usage data. If not provided, the current billing period will be used.

end_timestamp
int

The end timestamp for filtering the usage data. If not provided, the current billing period will be used.

output
string
  • cost Return cost in dollars.
  • compute Return CPU/GPU time in seconds.

Response

Was this page helpful?