Skip to Content
Orbyte Labs

Deployments

Publish a complete catalog and wait for activation.

Use the CLI for local projects. To publish from a server or script, pass your catalog config to the SDK:

TypeScript
import { Orbyte } from "orbytelabs";
import config from "./orbyte.config";

const client = new Orbyte({ accessToken: process.env.ORBYTE_API_KEY });
const id = await client.deployments.create(config);
const deployment = await client.deployments.get({ id });

create validates the catalog, publishes it, waits until ready, and returns the deployment ID. Each deployment is a complete snapshot of features and plans. Use defineConfig, feature, plan, credits, and measurement helpers from orbytelabs to build it; see catalog and pricing.

Provisioning failures include the deployment ID. Inspect it with get before retrying an uncertain request. Cancelling a wait does not cancel server work.