Get preview hostname
Preview hostnames
Get preview hostname
Returns one preview hostname belonging to an install.
GET
Get preview hostname
Authorizations
workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens
Headers
Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens — a workspace-owned token implies its workspace.
Required string length:
1 - 53Example:
"ws_j572abc123def456"
Path Parameters
Install ID
Required string length:
1 - 55Preview hostname ID
Required string length:
1 - 54Response
Preview hostname
Required string length:
1 - 54Required string length:
1 - 53Required string length:
1 - 55Required string length:
1 - 253Transport class for route forwarding.
Available options:
http, websocket, grpc Whether traffic uses the dispatcher Worker or bypasses it.
Available options:
through_dispatcher, bypass_dispatcher - Option 1
- Option 2
Current preview hostname lifecycle state.
Available options:
provisioning, active, evicted, releasing Unix timestamp (seconds)
Required range:
x >= 0Unix timestamp (seconds)
Required range:
x >= 0Unix timestamp (seconds)
Required range:
x >= 0