Seven HTTP endpoints let you script the builder from a CI job, a community linter, a
browser-based dashboard, or any other tool. JSON endpoints are rate-limited to 20 req/min per IP
and accept bodies up to 256 KB; /api/parse accepts ZIPs up to 5 MB. Every endpoint
sets Access-Control-Allow-Origin: * and responds to OPTIONS preflight, so
you can call them from a browser context without a proxy. X-RateLimit-* response headers
let polite callers back off before they hit a 429.
TypeScript SDK
A zero-dependency TypeScript SDK is published at /sdk.ts. Drop it into any
Bun / Node 18+ / Deno / browser project:
import { PluginBuilder } from 'https://pluginbuilder.ai/sdk.ts';
const pb = new PluginBuilder();
const { ok } = await pb.validate(spec);
if (ok) await Bun.write('plugin.zip', await pb.generate(spec)); Rate limits
All endpoints share a per-IP in-memory limit of 20 requests per minute and reject bodies over
256 KB with a 413. /api/import is additionally capped at 25 MB of upstream
response. Over the limit you'll see a 429 with { error: "rate_limited" } — retry after a minute.