Endpoint
Source: src/cwsandbox/_types.py:219Sandbox.service_urls means the hostname was assigned, not that
the app is listening yet. auth is required.
TLS_PASSTHROUGH: the platform forwards TLS by SNI to the container.
auth and request_timeout_seconds must be unset. The assigned
target is host:port on Sandbox.service_addresses. Use the
host as TLS SNI. The workload owns certs.
request_timeout_seconds is the server-side HTTPS request clock on
this product endpoint (504 while the sandbox stays alive). It is not
Sandbox.run(request_timeout_seconds=...), which is the client RPC
deadline. This client only requires an int (or None).
Attributes
auth(EndpointAuth | str | None) :OPENwhen kind is HTTPS. Must be omitted for TLS passthrough.request_timeout_seconds(int | None) : Seconds before the platform closes an in-flight HTTPS request.Noneor0selects the platform default (15s on serverless). The server accepts0or[15, 900]. On create-from-template,0is replace-on-presence and does not clear a template timeout back to the platform default. Must be unset for TLS passthrough.
EndpointAuth
Source: src/cwsandbox/_types.py:213OPEN='open'
EndpointKind
Source: src/cwsandbox/_types.py:206HTTPS='https'TLS_PASSTHROUGH='tls_passthrough'
HttpsEndpointStatus
Source: src/cwsandbox/_types.py:278Sandbox.service_endpoints.
request_timeout_seconds is the effective server-side clock (15 when
create omitted or sent 0). url is empty when the API suppresses
it (terminal sandboxes). This is not Sandbox.run(request_timeout_seconds=...).
TlsPassthroughEndpointStatus
Source: src/cwsandbox/_types.py:303Sandbox.service_addresses.
address is host:port. Use the host as TLS SNI. The workload
owns certs. Empty after stop.