SandboxClientOptions

class baseten.client.SandboxClientOptions(token, base_url, headers=None)

Bases: object

Options for SandboxClient and AsyncSandboxClient.

Obtain via SandboxClient.options to inspect the values a client was constructed with.

Parameters:
base_url: str

Base URL of the sandbox, without a trailing slash.

Each sandbox is reached at its own host, so there is no default.

headers: Mapping[str, str] | None = None

Additional headers to send on every request.

token: str

Sandbox token for authentication.