capabilities.work

Provision a Namespace in a Validated Region

A 3-step recipe with Temporal. We can help you get access.

Recipe · 3 steps

Provision a Namespace in a Validated Region

with Temporal · Tenant Provisioning & Lifecycle

Validate regions, create a Namespace, and poll its async operation to completion.

  1. List the available regions. The flow branches to fail early when no regions are returned, otherwise it proceeds to create the Namespace.
  2. Create the Namespace in the requested region and capture the asyncOperationId returned for tracking provisioning progress.
  3. Poll the async operation until its state field is no longer the in-flight pending value, indicating provisioning has reached a terminal state.
What you'll need to have ready
  • bearerToken: API key used as the Bearer token for Authorization.
  • name: The Namespace name to create.
  • region: The region id to provision the Namespace into.
  • retentionDays: Workflow execution retention period in days.
For your developer

Arazzo workflow temporal:provision-namespace-in-region, 3 operations: listRegions → createNamespace → getAsyncOperation. Specs on APIs.io.