SandboxPreviewInfo¶
- class baseten.sandbox.SandboxPreviewInfo(*, name, port, url, status, public, response_headers, request_headers, expires_at, region, created_at, updated_at, created_by, updated_by)¶
Bases:
objectA preview as last reported by the control plane.
- Parameters:
- request_headers: dict[str, str]¶
Headers added to every request forwarded to the sandbox.
Values come back as
"****"unless read with show_secrets.
- url: str¶
HTTPS URL serving the port.
Requests to a private preview need a token from
SandboxPreviews.create_token().