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

Request

id
string
required

ID of the job.

This endpoint retrieves usage statistics for a single job in 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?