PBN API
Everything in the app is available over a REST API with the same permissions. The full reference with every operation is at pbn-api.nativemind.net/api-docs.
Authentication
Create an API key in the app (Profile → API keys), choose its access per toolset and send it as a bearer token. A key is bound to one workspace.
curl https://pbn-api.nativemind.net/api/v1/projects \
-H "Authorization: Bearer pbn_live_…"Responses and errors
Successful responses carry data and meta (paging, and a risk warning on risky operations). Errors carry a stable code: 401 sign-in, 402 plan limit, 403 permission, 428 confirmation required for purchases and deletions (repeat with "confirm": true), 429 rate limit with Retry-After.
{ "data": …, "meta": { "page": { "nextCursor": "…" }, "risk": … } }
{ "error": { "code": "PLAN_LIMIT", "message": "…", "details": [] } }Limits
Daily limits follow your plan (API calls, jobs, domain intelligence, agent runs). The Explorer plan is read-only over the API.