API reference
Get quotas
Get the organization's quotas. Each key of quotas holds its limit and current usage. max_gpus_per_instance, the largest GPU count one instance may have, caps each instance on its own, so it has a limit and no usage. Usage is counted when the request is made. The GPU quotas count GPUs on running instances and running sandboxes together; a queued, building or starting resource already counts. instances counts every instance that is not deleted, running or stopped. The sandbox quotas (sandboxes, sandbox_memory_gib) are always present in quotas, 0 when the organization has none. The organization has Sandbox access exactly when quotas.sandboxes.limit is above 0. standard_gpu_types lists the GPU types that count toward standard_gpus; every other GPU type counts toward premium_gpus. With usage=false the response holds limits only: no usage is counted and no quota has usage. tier is the organization's quota tier, which decides every limit the organization has no override for. overrides lists the limit keys the organization has its own override for, in a fixed order, and is an empty array when it has none. A first successful payment moves an organization on the student or new tier to a paid tier, which raises each limit the paid tier sets higher, except the keys in overrides; any other limit is raised only by support.
View MarkdownGET/quotas
Get the organization's quotas. Each key of `quotas` holds its `limit` and current `usage`. `max_gpus_per_instance`, the largest GPU count one instance may have, caps each instance on its own, so it has a `limit` and no `usage`.
Usage is counted when the request is made. The GPU quotas count GPUs on running instances and running sandboxes together; a queued, building or starting resource already counts. `instances` counts every instance that is not deleted, running or stopped. The sandbox quotas (`sandboxes`, `sandbox_memory_gib`) are always present in `quotas`, 0 when the organization has none. The organization has Sandbox access exactly when `quotas.sandboxes.limit` is above 0.
`standard_gpu_types` lists the GPU types that count toward `standard_gpus`; every other GPU type counts toward `premium_gpus`. With `usage=false` the response holds limits only: no usage is counted and no quota has `usage`.
`tier` is the organization's quota tier, which decides every limit the organization has no override for. `overrides` lists the limit keys the organization has its own override for, in a fixed order, and is an empty array when it has none. A first successful payment moves an organization on the `student` or `new` tier to a paid tier, which raises each limit the paid tier sets higher, except the keys in `overrides`; any other limit is raised only by support.
Parameters
usage· query- Count current usage; false returns limits only
Responses
200 · OK
| Field | Type | Description |
|---|---|---|
overrides | array of string | Overrides lists the limit keys the organization has its own override for, in a fixed order; empty, never null, when it has none. Those limits do not follow the tier, so only support raises them. It is an open list of strings, not an enum: a later version may add a key, which callers should ignore if they do not know it. |
quotas | thundertypes.Quotas | Quotas are the organization's quotas, each with the limit enforced and its current usage. |
standard_gpu_types | array of string | StandardGPUTypes are the GPU types that count toward standard_gpus, lower case and sorted. Every other GPU type counts toward premium_gpus. |
tier | string | Tier is the organization's quota tier, which decides every limit the organization has no override for. A first successful payment moves an organization off the student and new tiers. It is an open string, not an enum: support can put an organization on a tier of its own. |
400 · Bad Request
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
401 · Unauthorized
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
503 · Service Unavailable
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
Operation specification
The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.