@engini/client
v0.11.0
Published
Autogenerated TypeScript REST client for the Engini Public API (DeveloperAPI / v1).
Downloads
922
Readme
@engini/client
Autogenerated TypeScript REST client for the Engini Public API
("DeveloperAPI", /v1) — native fetch, zero runtime deps, dual ESM + CJS.
This is the base client layer of Engini's two-package SDK stack. For an ergonomic,
agent-first interface (typed errors, retry/backoff, auto-pagination, LLM tool wrapping), use
the higher-level @engini/sdk that's built on top
of this.
The code under
src/generated/is generated from an OpenAPI spec and committed — it is not hand-edited. See the repository to regenerate.
Install
npm install @engini/clientUsage
import { createEnginiClient, connectionsGetConnections } from "@engini/client";
const client = createEnginiClient({
baseUrl: "https://api.engini.io", // requests append /v1/...
token: "<JWT>", // → Authorization: Bearer <JWT>
});
const res = await connectionsGetConnections({ client });Source & docs: https://github.com/engini/engini-client
