Usage and spend
Usage of one workspace (time series and totals)
get/v1/workspaces/{workspace_id}/usage
Request
- Base URL: https://api.shardflux.dev
- URL: https://api.shardflux.dev/v1/workspaces/{workspace_id}/usage
- Auth: HTTP bearer
Path parameters
workspace_idstring uuid required
UUIDv7, lowercase canonical form.
Query parameters
fromstring date-time
RFC 3339 UTC timestamp with Z.
tostring date-time
RFC 3339 UTC timestamp with Z.
meter'cpu_seconds' | 'memory_gib_seconds' | 'storage_gib_seconds' | 'egress_bytes' | 'ingress_bytes' | 'volume_storage_gib_seconds' | 'gpu_seconds'
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.