Allocate Concurrency to a Ringg Space
Sets how many concurrent calls one Ringg Space may run, taken from the family’s capacity (bought on the primary). Allocations across all Ringg Spaces cannot exceed the capacity. In an individual-billing family the allocation is also the Ringg Space’s hard ceiling; in a common-billing family the ceiling is the family total, so idle capacity flows to whichever Ringg Space is busy.
When to use
- Giving a newly created Ringg Space its first capacity (it starts at
0and cannot call until allocated). - Rebalancing capacity between clients or teams.
Request parameters
Integration notes
- Authenticate with the primary workspace’s API key.
- The value is absolute, not a delta. Lowering an allocation always succeeds; raising it must fit
family.concurrency_availablefrom Get Ringg Spaces. limit_concurrencyin the response is the persisted ceiling. In an individual-billing family it equals the allocation. In a common-billing family it is the family total, because idle capacity is shared, so it can be larger thanconcurrency.- This is the only allocation endpoint that applies to common-billing families; money is pooled on the primary there.
Error responses
- 400:
Only 30 concurrent calls are available to allocate from the parent workspace (capacity 50, 20 already allocated to other sub-workspaces).— the allocation does not fit. - 400:
Sub-workspaces cannot have their own sub-workspaces.— the key belongs to a Ringg Space. - 401: Invalid or missing API key.
- 403:
Sub-workspaces are not enabled for this workspace. - 404:
Sub-workspace not found— no active Ringg Space with this id under your primary. - 422:
sub_workspace_idis not a UUID, orconcurrencyis negative or missing.
Example
Common follow-up
Buy more capacity on the primary whenfamily.concurrency_available reaches 0, then allocate the new slots here.Headers
(Required) The API key of the PRIMARY workspace. A Ringg Space's key is refused with 400.
"7251cb4b-3373-43a4-844c-b27a1d45e0c9"
Path Parameters
(Required) ID of the Ringg Space.
"b7c1f0e2-4d3a-4a91-9f2e-8c1d5a6b7e30"
Body
(Required) Concurrent calls to allocate to this Ringg Space. 0 stops it from calling.
x >= 020
Response
Successful Response: The new allocation and the family totals.
"Mumbai Collections now has 20 concurrent calls"
"b7c1f0e2-4d3a-4a91-9f2e-8c1d5a6b7e30"
20
The persisted ceiling: equals concurrency in an individual-billing family, the family total in a common-billing family.
20