v1

latestOpenAPI 3.1.02026-07-263971,2281.1 MB
SandboxAdminService

Per-lease compute usage for a sandbox, computed from lease durations × the compute rate. Durable (reads the lease table), so it works for stopped sandboxes. This is usage (ACUs), not the invoiced dollar amount.

Per-lease compute usage for a sandbox, computed from lease durations × the compute rate. Durable (reads the lease table), so it works for stopped sandboxes. This is usage (ACUs), not the invoiced dollar amount.

post/textql.rpc.public.sandbox_admin.SandboxAdminService/ListSandboxSpend

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

sandboxIdstring

Response

Success

acusPerHournumber double

ACUs per instance-hour used to compute the figures above.

totalAcusnumber double

Sum of acus across all returned intervals.

acuRatePer1000Usdnumber double

Effective ACU->USD rate for this org, in USD per 1000 ACUs (resolved from the tenant's pricing tier / active override). 0 means unknown/unpriced.

Example response

{
  "intervals": [
    {
      "startedAt": "2023-01-15T01:30:15.01Z",
      "endedAt": "2023-01-15T01:30:15.01Z"
    }
  ]
}