> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fermion.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Container Details

> Retrieve container connection details including subdomain and secure access token.

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:**

```typescript theme={null}
{
  subdomain: string
  playgroundContainerAccessToken: string
} | null
```

**Example:**

```typescript theme={null}
const details = sandbox.getContainerDetails()

if (details) {
  console.log('Subdomain:', details.subdomain)
  console.log('Token:', details.playgroundContainerAccessToken)
}
```

<Warning>
  The access token is sensitive. Do not expose it in logs or UI.
</Warning>
