Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

Path Parameters

name
string
required

Sandbox display name

Body

application/json
access
enum<string>

Access selects the login mode, mutually exclusive with the minted token. Omit the field for token mode: mint a short-lived service token (default). "restricted" — LangSmith login: any user with SandboxesRead on the sandbox. "workspace" — LangSmith login: any member of the owning workspace. "off" — remove an existing LangSmith login grant and mint a token. A LangSmith login grant is durable; token mode is refused (409) while one exists.

Available options:
restricted,
workspace,
off
expires_in_seconds
integer
port
integer

Response

OK

access
enum<string>

Access echoes the enabled LangSmith login level ("restricted"/"workspace"); omitted in token mode.

Available options:
restricted,
workspace
browser_url
string
expires_at
string
service_url
string
token
string

Token and ExpiresAt are empty in LangSmith login mode (no token is minted).