HTTP API
Limits
1 routes your API key can call. Each says who may call it; every example assumes KEY is your API key. What only the dashboard does (signing in, making API keys, connecting accounts) isn't listed here: it's in the full OpenAPI spec.
/v1/workspaces/{wid}/limitsThe workspace's limits and how near it is to them (members and API keys; a key also gets its own)
People and API keys
| Parameter | In | Type | About |
|---|---|---|---|
wid | Inpath | Typestring | AboutWorkspace id |
Answer · 200
limitsLimitsrequiredmax_sandboxesintegerSandboxes the workspace may have running at once
running_sandboxesintegermonthly_spend_limit_microsinteger | nullnull: no spend limit
allowed_regionsarray | nullWhere every sandbox of the workspace may start, as the routing rules allow together (region codes, the first allow rule's order first); null: anywhere
allowed_providersarray | nullThe providers the routing rules allow; null: any
denied_providersarray | nullProviders the routing rules never use; null: none
default_routestring | nullThe route requests without one take; null: none
default_orderarray | nullProviders tried first by default; null: none
lock_routebooleanRequests may not change the route, order or fallbacks
annex_accounts"after" | "first" | "only" | "off"Where Annex's own provider accounts (Annex credit) go: after the workspace's own (the default), first, only (no own accounts), or off
max_vcpuinteger | nullMaximum vCPUs one sandbox may actually receive; null: no workspace ceiling
max_memory_gibinteger | nullMaximum GiB of memory one sandbox may actually receive; null: no workspace ceiling
alert_memory_pctinteger | nullMemory percent at which a sandbox alerts (its log and email), once each time it crosses; null: off
alert_cpu_pctinteger | nullCPU percent at which a sandbox alerts, once each time it crosses; null: off
operating_hoursOperatingHours | nullWhen workspace compute may run and whether schedule-paused sandboxes auto-resume; null: any time
month_spend_microsintegerAnnex's estimate for this calendar month (UTC), up to a minute old
currency"USD"rulesRule[]The routing rules
allowed_regions,allowed_providersanddenied_providersare compiled from (GET …/rules)rules_problemstring | nullWhy the rules can't be applied (a region gone from the catalogue); starts are refused until the owner fixes them. null when they apply
api_keyobject | nullThe calling API key's own; null for a person
curl -X GET 'https://annex.eversonder.com/v1/workspaces/wsp_…/limits' \
-H 'Authorization: Bearer anx_live_…'