Regions and placement
Understand how the gateway chooses from registered compute capacity.
Request path#
Your SDK or HTTP client calls the public gateway. The gateway authenticates the workspace, checks eligible hosts, reserves capacity, and forwards the request with a separate host service credential. The dashboard reaches the same gateway through its account backend.
Region selection#
Registry placement prefers eligible hosts near the request coordinates, with capacity and utilization considered. The gateway can use Cloudflare request geolocation or accepted placement hints. Coordinates influence placement; they never grant authorization.
Geographic distance is not measured end-to-end latency. A nearby location may have no eligible capacity, and the gateway does not create an arbitrary cloud VM as a side effect of routing.
Capacity#
curl --fail --silent --show-error \
-H "X-API-Key: $TABS_API_KEY" \
https://api.runtabs.dev/tabs/v1/fleetAwake and asleep slots are capacity limits, not monthly usage allowances. A capacity read is a point-in-time observation, not a reservation. A failed or stale host report must not be treated as free capacity.
Existing environments#
Keep the complete host-prefixed sandboxID. Sleep, wake and delete return to the environment's assigned host. Creating on another host does not recover a previous Tab's state.
