Skip to main content
The getContainerDetails() method provides low-level connection information for the currently active sandbox container. It returns an object containing the container subdomain and a playground access token, which are used internally to establish and manage secure communication between your client and the Fermion infrastructure.

getContainerDetails()

Description: Returns container connection details including subdomain and access token, or null if not connected. Parameters: None Returns:
{
  subdomain: string
  playgroundContainerAccessToken: string
} | null
Example:
const details = sandbox.getContainerDetails()

if (details) {
  console.log('Subdomain:', details.subdomain)
  console.log('Token:', details.playgroundContainerAccessToken)
}
The access token is sensitive. Do not expose it in logs or UI.