Resource model
Workspace-scoped requests resolve the workspace from your credential the same way as the rest of the API — implied by a workspace API token, or selected with the optional
Akua-Context header for broad credentials. Mutation endpoints are safe to retry with Idempotency-Key.
Workspace subdomains
Every workspace has one subdomain resource. Read it before showing a rename form, and pass the returnedetag when you submit a rename. If another client changed the subdomain first, the API returns a conflict so your UI can reload the current value.
Workspace subdomains API
Get and rename the workspace subdomain.
Preview hostnames
Preview hostnames expose one installation endpoint through an Akua-managed hostname. Use pinned hostnames when you need a stable name for a known environment. Use floating hostnames when automation needs a fresh preview name without coordinating a specific slug.Preview hostnames API
List, bind, and delete preview hostnames for an installation.
Custom domains
Custom domains attach a domain you control to a workspace. The API returns the DNS verification state so you can guide customers through domain control validation before serving production traffic. Routing mode controls where traffic goes after the domain is active:through_dispatcherroutes through Akua-managed edge dispatching.bypass_dispatcheris for enterprise traffic paths that use a dedicated target instead of the shared dispatcher.
Custom domains API
Create, verify, update, and delete custom domains.
Long-running changes
Domain mutations return an operation. Store the operation ID and call the operation:wait endpoint when you need synchronous handoff behavior.
For dashboards and CLIs, prefer showing the operation timeline instead of repeatedly fetching the domain resource. The operation response tells you when the routing change has been accepted and when background validation finishes.
Related topics
API introduction
Authentication, pagination, idempotency, and error handling.
Preview domains
How managed preview hostnames route to your applications.
Authentication
Set up API tokens for programmatic access.
Operations API
Track long-running infrastructure changes.