Create deployment
POST
/titan/management/deploymentsHeaders
Authorizationstring
Bearer <token>. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).
Idempotency-Keystring
Organization-scoped request key. Reusing it with a different normalized request returns 409.
Body parameters
exposurestring
One of: "public", "private"
hosting_modestring
One of: "hexel_managed", "hexel_managed_dedicated", "customer_managed"
namestring
Nonempty name without surrounding whitespace or ASCII control characters; backend limit is 128 UTF-8 bytes.
policy_templatestring
One of: "default-deny-v1"
regionstring
Must match an operator-approved region profile for the requested hosting mode and exposure.
Returns
202Blueprint preparation accepted; no infrastructure has been provisioned.CreateResponse
deploymentobject
operationobject
Errors
- 400Invalid request, path, query, or idempotency key; on create, PROFILE_NOT_AVAILABLE when the region, hosting mode and exposure match no approved profile.
- 401Missing or invalid authenticated context.
- 402PLAN_REQUIRED when the billing gate is on and the organization has no Titan plan, trial or override: error.message is "Start your 7-day trial or choose a plan." and error.billing_url the console's plans page. Nothing is created; a replay of an earlier successful create still returns it.
- 403Organization mismatch or denied IAM action.
- 404Unknown or foreign organization resource, or plan not yet prepared.
- 405HTTP method is not supported on this route.
- 409Idempotency conflict or organization deployment quota reached.
- 413Request body exceeds its size limit.
- 415Unsupported request media type.
- 503Local storage or preparation service unavailable; PLAN_CHECK_UNAVAILABLE (with Retry-After) when the billing gate is on and billing could not be checked. Nothing is created; retry.