Client API
Type-safe API client for Picadabra.
Installation
npm install @picadabra/clientSetup
import { } from "@picadabra/client";
const = ({
: "https://api.picadabra.example.com",
: "your-api-key", // or async () => getToken()
});| Option | Type | Description |
|---|---|---|
baseUrl | string | API URL (default: https://api.picadabra.ai) |
credentials | string | () => string | Auth token or getter function |
Endpoints
How is this guide?