Welcome to LaunchVerseQuickstartDashboard OverviewImporting Projects
LaunchVerse ForgeScale-to-ZeroEnvironment Variable VersioningRollbacks & PromotionsPreview Environments
Helix CopilotEphemeral SandboxesAI Log Explainer
The LaunchVerse EdgeCustom Domains & TLSDomain PurchasingTwo-Factor Authentication (TOTP)IP Allowlists
Managed DatabasesDatabase Backups & RestoresLog DrainsObservability
Project GroupsRole-Based Access Control (RBAC)
Student ProgramDeveloper Streaks
AuthenticationProjectsDeploymentsDomainsDatabasesError Codes & Conventions
Changelog
Deployment GuideEnvironment Variables & SecretsTeam ManagementWeb ShellHow Builds Work (Forge)
JavaScript SDKPython SDK
API Reference (Redoc)

JavaScript SDK

The Launchverse JavaScript SDK provides a typed client for the Launchverse API.

Installation

npm install @launchverse/sdk

Usage

import { LaunchverseClient } from '@launchverse/sdk';

const client = new LaunchverseClient({

token: 'lvse_...',

});

// List projects

const projects = await client.projects.list();

// Get a deployment

const deployment = await client.deployments.get('deployment_id');

TypeScript

The SDK includes full TypeScript definitions. All API responses are typed based on the OpenAPI specification.

Error Handling

try {

await client.projects.get('nonexistent');

} catch (error) {

if (error.code === 'NOT_FOUND') {

// Handle not found

}

}

Edit this page on GitHub↗