Get Sandbox Cluster
client.sandboxClusters.get(stringsandboxClusterID, RequestOptionsoptions?): SandboxCluster { id, created_at, gateway_hostname, 8 more }
GET/v1/sandbox_clusters/{sandbox_cluster_id}
Get Sandbox Cluster
import NirvanaLabs from '@nirvana-labs/nirvana';
const client = new NirvanaLabs({
apiKey: process.env['NIRVANA_LABS_API_KEY'], // This is the default and can be omitted
});
const sandboxCluster = await client.sandboxClusters.get('sandbox_cluster_id');
console.log(sandboxCluster.id);{
"id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2025-01-01T00:00:00Z",
"gateway_hostname": "gw.0123456789ab.example.com",
"instance_type": "n1-standard-8",
"name": "my-sandboxes",
"node_count": 3,
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"region": "us-sva-2",
"status": "ready",
"tags": [
"production",
"agents"
],
"updated_at": "2025-01-01T00:00:00Z"
}Returns Examples
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2025-01-01T00:00:00Z",
"gateway_hostname": "gw.0123456789ab.example.com",
"instance_type": "n1-standard-8",
"name": "my-sandboxes",
"node_count": 3,
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"region": "us-sva-2",
"status": "ready",
"tags": [
"production",
"agents"
],
"updated_at": "2025-01-01T00:00:00Z"
}