Enkeon Docs
Integrations

SDK and REST clients

Use the TypeScript SDK or authenticated REST requests.

TypeScript SDK

npm install @enkeon/sdk

The package keeps thinkingroot as its factory export for compatibility.

import { thinkingroot } from "@enkeon/sdk";

const client = thinkingroot({
  gatewayUrl: "https://api.enkeon.com",
  projectKey: process.env.ENKEON_API_KEY!,
});
const memory = client.scope(authenticatedUserId);
await memory.store(
  [{ statement: "The pilot starts October 8." }],
  "pilot-date-v1",
);
const hits = await memory.recall("When does the pilot start?");

Run this on your server. Derive authenticatedUserId from a verified session. Give writes an idempotency key that identifies the operation; do not reuse one key for unrelated writes.

REST

The gateway base URL is https://api.enkeon.com. Engine endpoints are available under /engine; send a project key in the Authorization header.

See authentication and the API reference for request schemas. Handle both transport errors and the response payload; do not treat an authorization error as empty retrieval.

AI clients

Use MCP setup to connect a supported AI tool without building an application.