A small, stable REST API. First-party clients in TypeScript and Python. Webhooks for run lifecycle events. Bring Nexus into your existing dev pipeline without leaving your stack.
We resisted shipping a Roman aqueduct of CRUD. Most teams need to fire a workflow, watch a run, and list runs. Everything else is convenience.
Promise-first, fully typed. Streaming responses for run events. Works in Node, Edge, and Bun.
Sync & async. Pydantic models for every payload. Async iterator for streaming events.
For local dev and CI. Trigger runs, tail events, manage workspaces. Same auth as the SDKs.
// TypeScript import { Nexus } from "@nexus/sdk"; const nx = new Nexus({ apiKey: process.env.NEXUS_API_KEY! }); const run = await nx.workflows.trigger("customer-onboarding", { email: "a@example.com", plan: "enterprise", }); for await (const ev of nx.runs.stream(run.id)) { if (ev.type === "StepCompleted") console.log(ev.node, ev.output); if (ev.type === "RunDone") break; }
Subscribe to run lifecycle events at the workspace or per-workflow level. Signed payloads. Automatic retries with exponential backoff. Replayable from the dashboard.
API keys are scoped (workflow, run, admin). Rotate from the UI or via the CLI.