TypeScript SDK Quickstart
The official@qumo-deploy/sdk package provides complete, strongly-typed programmatic control over the Qumo Deploy control plane.
Installation
Install the package using your favorite package manager:Client Initialization
Construct an instance ofQumoClient by supplying your base URL and credentials:
Authentication Modes
The client supports three distinct authentication contexts:- API Key (
apiKey): Best for server-to-server microservices and background daemons. Sends theX-API-Keyheader. - Bearer Token (
token): Best for CI/CD runners, personal access tokens (PAT), or headless service tokens. SendsAuthorization: Bearer <token>. - Session Cookie + CSRF (
csrfToken): Best for web console applications running in browsers where session cookies (qumo_session) are present. Pass a callback function returning the CSRF token: