Get the team's limits and usage
The free alpha limits that apply to the team (defaults, with any limit raised for this team) and what it uses now. null is unlimited. Builds and uploads are counted over a rolling 24 hours: nothing resets at midnight. Memory, CPU, wall time, request rate and operations are ceilings on what an app may ask for in limits, so they have no usage.
/v1/limitsAuthorizationBearer token · headerrequiredA team API key, sbk_..., from Settings, API keys.
x-api-keyAPI key · headerrequiredThe same key, in a header of its own.
Limits and usage.
enabledbooleanrequiredFalse when this Cloud enforces no quotas.
limitsobjectrequiredShow propertiesHide properties
appsinteger | nullmemory_mbinteger | nullMiB per app.
builds_per_dayinteger | nullBuilds that compile in a rolling 24 hours; cached builds are free.
storage_mbinteger | nullMiB: the ceiling for limits.storage_mb, and the team's static assets together.
cpu_msinteger | nullCeiling for limits.cpu_ms: milliseconds of CPU per request.
wall_msinteger | nullCeiling for limits.wall_ms: milliseconds of wall time per request.
rate_rpsinteger | nullCeiling for limits.rate_rps (requests per second per app); limits.rate_burst may be twice this. A rate limit cannot be lifted.
ops_per_secinteger | nullCeiling for limits.ops_per_sec: binding operations per second.
source_mb_per_dayinteger | nullMiB of new sources the team may upload in a rolling 24 hours.
asset_mb_per_dayinteger | nullMiB of new static asset blobs the team may upload in a rolling 24 hours.
overriddenstring[]requiredThe limits raised (or lowered) for this team.
contactstringrequiredWhere to ask for more room: an email address or a URL (by default support@sproutboat.com). It is the address the quota messages name.
new_app_refusalobject | nullrequiredWhat creating one more app would answer right now (403 quota-apps, with the same message), or null when there is room. A client can stop before it uploads or builds anything. Advisory: the write decides.
Show propertiesHide properties
reasonstringquota-appsmessagestringusageobjectrequiredShow propertiesHide properties
appsintegerbuilds_24hintegerBuilds that compiled in the last 24 hours (against limits.builds_per_day); cache hits and prebuilds are free.
builds_next_slot_sinteger | nullSeconds until the oldest counted build is 24 hours old and frees one build (never under 60; the retry_after_s of a 429 quota-builds). Null when no build counts. Room comes back one build at a time, not at a fixed hour.
assets_mbnumberMiB of static assets across the team's apps.
sources_mb_24hnumberMiB of new sources the team uploaded in the last 24 hours (against limits.source_mb_per_day).
assets_mb_24hnumberMiB of new asset blobs the team uploaded in the last 24 hours (against limits.asset_mb_per_day).
No key, or an invalid, expired or revoked key (unknown or missing API token, invalid, expired or revoked API key). No reason.
errorstringrequiredA message for people. Do not parse it.
reasonstringA stable, machine-readable cause, when there is one.
pathstringThe request field at fault.
needstringThe grant a 403 asks for, app:write for example.
retry_after_sintegerThe key lacks a grant (reason: forbidden, need: "<resource>:<action>").
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredforbiddenneedstringrequiredThe grant, as <resource>:<action>, for example app:write.
The key is over its requests a minute (600, or 2,000 with app:write; reason: key-rate-limited, retry_after_s, Retry-After). Wait that long and retry.
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredkey-rate-limitedretry_after_sintegerrequiredSeconds to wait; also the Retry-After header.