Retrieve usage statistics for a specific environment
curl --request GET \ --url https://restapi.gputrader.io/v1/environments/{envId}/usage \ --header 'X-API-Key: <api-key>'
{ "days": [ {} ], "percentChange": { "count": 123, "hours": 123, "earned": 123 }, "total": { "count": 123, "hours": 123, "earned": 123 }, "timezone": "<string>" }
Environment ID
Start date for usage data
End date for usage data
Daily usage data
Show child attributes
Percentage change in rental count compared to previous period
Percentage change in hours used compared to previous period
Percentage change in earnings compared to previous period
Total number of rentals in current period
Total hours used in current period
Total earnings in current period
Timezone used for the data