Skip to content
Hexel StudioDocs

List VM usage records

GET/compute/v1/usage

Returns VM usage records for the caller's org, optionally filtered by date range and tier

Query parameters

fromoptional string

Start date (YYYY-MM-DD), default 30 days ago

tooptional string

End date (YYYY-MM-DD), default today

tieroptional string

Filter by tier

limitoptional integer

Max records (default 100)

offsetoptional integer

Offset for pagination

Headers

Bearer <token>. STS access token. Obtain via POST https://sts.hexelstudio.com/token with X-API-Key header.

Workspace ID

Environment ID

Returns

200OKarray of UsageRecord

duration_secondsoptional integer
ended_atoptional string
reasonoptional string
started_atoptional string
tieroptional string
vm_idoptional string

Errors

  • 500Internal Server Error