Zero External Dependencies • Native Exponential Retries

Official Ocaq SDKs & Developer Tools

Type-safe, production-ready client libraries and CLI utilities for TypeScript, Go, Python, and the terminal.

API Versionv1 REST & SSE
LicenseApache-2.0
Installation
npm install @ocaq/sdk

TypeScript & Node.js SDK

Fully typed official SDK for Node.js, Deno, Bun, and edge runtime workers with zero external dependencies.

Engineering Features
  • 100% strict TypeScript types and complete IDE autocomplete
  • Automated exponential backoff retries on rate limits and 5xx errors
  • Real-time SSE event streaming for live container stdout/stderr logs
  • First-class compatibility with Next.js App Router and Edge Handlers
GitHub RepositoryTypeScript / JavaScript
OpenAPI 3.1 SpecificationJSON schema for SDK generation

Initialize the client using an API Token from your environment.

import { OcaqClient } from "@ocaq/sdk";

const ocaq = new OcaqClient({
  token: process.env.OCAQ_API_TOKEN,
  timeoutMs: 10000,
});
Expected Output:
// Connected to Ocaq Edge Gateway (TLS 1.3)