Erstelle unter Einstellungen → API & MCP einen Workspace-API-Schlüssel. Nutze einen Tarif mit API-Zugriff und speichere den Schlüssel in deiner lokalen Umgebung oder deinem Secret Manager.
Benötigt Node.js 22 oder neuer.
Installieren
npm install famulor-sdk
sdk-read.mjs
import { Famulor } from "famulor-sdk";
const apiKey = process.env.FAMULOR_API_KEY;
if (!apiKey) throw new Error("Set FAMULOR_API_KEY before running.");
const client = new Famulor({ apiKey });
const { data } = await client.assistants.list({ limit: 5 });
for (const { id, name } of data) console.log(id, name);