Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Typed Node.js and browser client in @attexra/sdk.
@attexra/sdk
packages/sdk-ts
AttexraError
npm run build:sdk npm run test:sdk
import { AttexraClient, AttexraError } from "@attexra/sdk"; const client = new AttexraClient({ apiKey: process.env.ATTEXRA_API_KEY!, baseUrl: process.env.ATTEXRA_API_URL ?? "http://localhost:8080/v1", }); try { const { items, nextCursor } = await client.listAgents({ limit: 25 }); console.log("Agents:", items.length, "Next:", nextCursor); } catch (err) { if (err instanceof AttexraError) { console.error(err.status, err.code, err.message); } }