Skip to main content

SDKs

Vers publishes official SDKs for 9 languages, all auto-generated from the OpenAPI spec and published to package registries on every API change.

Installation

npm install vers-sdk
import { VersSdkClient } from "vers-sdk";

const client = new VersSdkClient({ apiKey: process.env.VERS_API_KEY });
const vms = await client.listVms();
GitHub · npm

Features

All SDKs include:
  • Full API coverage — 51 operations across VMs, commits, repositories, domains, environment variables, and tags
  • Typed models — Request/response types generated from the OpenAPI schema
  • Error handling — Typed error responses with status codes
  • Automatic retries — Configurable retry with exponential backoff and Retry-After support
  • Request options — Per-request timeout, headers, and idempotency key overrides
  • Query parameters — Typed parameter interfaces for filtering and pagination
  • Platform detectionUser-Agent header with SDK version, language runtime, and OS info

Authentication

All SDKs accept an API key via constructor or environment variable:
export VERS_API_KEY="your-api-key"
Get your API key from vers.sh/billing.

Source

SDKs are auto-generated by Sterling from the Chelsea OpenAPI spec and published on every API change.