API & SDK

Integrate the TypeScript SDK

Install and use the official Inceptiva SDK on Node.js 18 or later.

Updated August 3, 2026 Β· 10 min

Install and create the client

npm install @inceptiva/sdk
import { Inceptiva } from "@inceptiva/sdk";
const client = new Inceptiva({ apiKey: process.env.INCEPTIVA_API_KEY!, agentId: process.env.INCEPTIVA_AGENT_ID! });

Send messages

const first = await client.responses.create({ message: "Analyze this opportunity", metadata: { source: "crm" } });
const followUp = await client.responses.create({ message: "What is the next step?", conversationId: first.conversationId });

client.invoke(input) remains a compatible alias. Pass an AbortController signal to cancel. See the TypeScript reference.