cURL
curl --request GET \ --url https://api.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>" }
Retrieve usage statistics for a specific environment
Documentation IndexFetch the complete documentation index at: https://docs.gputrader.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.gputrader.io/llms.txt
Use this file to discover all available pages before exploring further.
Environment ID
Start date for usage data
End date for usage data
Successfully retrieved environment usage
Daily usage data
Show child attributes
Timezone used for the data