Sandboxes

Get the GPUs left in your quota

Changed on

How many more GPUs your workspace's sandboxes can hold under its GPU quota. 404 while sandboxes are not enabled for your workspace.

get/sandboxes/quota

Request

  • Base URL
    https://api.hedra.com/v3
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Response

Successful Response

gpu_quota_remaininginteger required

GPUs left under your workspace's GPU quota: the quota less the GPUs its creating, active and stopping sandboxes were created with, every member's included. A create can still answer 429 with GPUs left, because your workspace's sandbox quota also limits its running instances, every replica counted. A sandbox counts at its full replicas until Hedra records it ended: usually a minute or two after a stop or the end of ttl_seconds, about 15 minutes after its last replica exits on its own, and for as long as any replica still runs.

Changes