Skip to content

Leap0Client

Source: src/client/index.ts

Leap0Client(config: Leap0ConfigInput = {})

Top-level Leap0 SDK client that exposes all service groups.

  • Leap0Error: If config validation fails during client construction.
const client = new Leap0Client({ apiKey: process.env.LEAP0_API_KEY! });
const sandbox = await client.sandboxes.create({ templateName: "base" });
async close(): Promise<void>

Closes the underlying transport.

  • Leap0Error: If shutting down the transport fails.