SDK

Call the SDK

Install the TypeScript or Python Limetry SDK, build an ActionIntent, and evaluate it against a self-run node.

Limetry ships two first-party SDKs with the same evaluate contract:

LanguagePackageInstall
TypeScript@limetry/sdknpm install @limetry/sdk
Pythonlimetrypip install limetry

Point baseUrl / LIMETRY_BASE_URL at your evaluation server (http://localhost:3810 or your origin). Use LIMETRY_BEARER_TOKEN / LIMETRY_API_KEY unless you issue your own API tokens on that node.

Pick a language

Quick evaluate

TypeScript:

import { createRemoteEngine } from "@limetry/sdk"

const engine = createRemoteEngine({
  baseUrl: "http://localhost:3810",
  apiKey: process.env.LIMETRY_BEARER_TOKEN,
})
const decision = await engine.evaluateAction(intent)

Python:

from limetry import create_remote_engine

engine = create_remote_engine(base_url="http://localhost:3810")
decision = engine.evaluate_action(intent)

decision is allow, deny, or approval_required (plus approved / reasons).

Send only fields needed for policy. Prefer auditMode: "minimal" / audit_mode="minimal" unless you need forensics. See Minimize audit data.

Continue

Contact

Talk to the Limetry team

Questions about self-run Limetry, Limetry Cloud, or partnerships — send a note.  Open contact.