import { Client, Box } from "@scoopika/client";

const client = new Client("API_URL");
const box = new Box("BOX_ID", client);

You can use the Box class to initialize and new smart box instance. What are multi-agent boxes

Arguments

id
string
required

The box ID. your box ID is shown next to its name in the platform, just click it to copy.

client
Client
required

An instance of the Scoopika Client class that you previously initialized.

Reference to Client instance

import { Client, Box } from "@scoopika/client";

const client = new Client("API_URL");
const box = new Box("BOX_ID", client);