Sign Up

Usage

GET/organization/{organizationId}/sandbox/{sandboxId}/usage

Returns individual usage records for a specific sandbox within a time range

AuthorizationBearer <token>

JWT token or Admin API key

In: header

Path Parameters

organizationId*string

Organization ID

sandboxId*string

Sandbox ID

Query Parameters

from*string

Start time (RFC3339)

to*string

End time (RFC3339)

Response Body

application/json

curl -X GET "https://example.com/organization/string/sandbox/string/usage?from=string&to=string"
[  {    "cpu": 0,    "diskGB": 0,    "endAt": "string",    "gpu": 0,    "price": 0,    "ramGB": 0,    "startAt": "string"  }]
GET/organization/{organizationId}/usage/aggregated

Returns organization-level resource usage totals for a given time period

AuthorizationBearer <token>

JWT token or Admin API key

In: header

Path Parameters

organizationId*string

Organization ID

Query Parameters

from*string

Start time (RFC3339)

to*string

End time (RFC3339)

Response Body

application/json

curl -X GET "https://example.com/organization/string/usage/aggregated?from=string&to=string"
{  "firstStart": "string",  "lastEnd": "string",  "sandboxCount": 0,  "totalCPUSeconds": 0,  "totalDiskGBSeconds": 0,  "totalGPUSeconds": 0,  "totalPrice": 0,  "totalRAMGBSeconds": 0}
GET/organization/{organizationId}/usage/chart

Returns resource usage data points for a given time period with auto-scaled resolution

AuthorizationBearer <token>

JWT token or Admin API key

In: header

Path Parameters

organizationId*string

Organization ID

Query Parameters

from*string

Start time (RFC3339)

to*string

End time (RFC3339)

region?string

Region filter

Response Body

application/json

curl -X GET "https://example.com/organization/string/usage/chart?from=string&to=string"
[  {    "cpu": 0,    "cpuPrice": 0,    "diskGB": 0,    "diskPrice": 0,    "ramGB": 0,    "ramPrice": 0,    "time": "string"  }]
GET/organization/{organizationId}/usage/sandbox

Returns resource usage aggregated per sandbox for a given time period

AuthorizationBearer <token>

JWT token or Admin API key

In: header

Path Parameters

organizationId*string

Organization ID

Query Parameters

from*string

Start time (RFC3339)

to*string

End time (RFC3339)

Response Body

application/json

curl -X GET "https://example.com/organization/string/usage/sandbox?from=string&to=string"
[  {    "firstStart": "string",    "lastEnd": "string",    "sandboxId": "string",    "totalCPUSeconds": 0,    "totalDiskGBSeconds": 0,    "totalGPUSeconds": 0,    "totalPrice": 0,    "totalRAMGBSeconds": 0  }]