Skip to main content
@apowerb/apowerb-sdk is the JavaScript client for the apowerb backend: agents, tools, RAG, BI, webhooks, billing and skills. 143 functions, no dependencies, no React and no Next code — it runs in a browser and in Node alike.
Published from GitHub Actions through npm trusted publishing, with a provenance attestation naming the repository, the workflow and the tag.

Two ways to use it

With no configuration, requests go out relative to /api/... and the token is read from localStorage. This is what the reference interface does.

Configuration

configureClient(options) — omitted keys keep their current value. Companion functions: getClientConfig() reads the current settings, resetClientConfig() restores the defaults — useful between tests — and apiUrl(path) builds the absolute URL of an API path.

Entry points

The SDK covers the endpoints of the API reference — the same surface, one function per endpoint. Capabilities absent from your edition answer 404; see Editions.