REST API
Everything the Pugbase MCP server does is a plain HTTPS endpoint too, so any language or HTTP client can use it - read a note's published plan, and push results back into it. Same API keys as the MCP connection.
Authentication
Send your API key as a Bearer token on every request. Create one in Settings -> Developer; it looks like pgb_... and is tied to one workspace. Requests act as the key owner, so that owner must be a member of the workspace (an editor, for writes).
Authorization: Bearer pgb_...
Base URL
https://pugbase.io/api/public
API keys & limits
API keys are capped per plan: Free 2, Pro 10, Max 50. Calling the REST API does NOT consume your monthly AI tokens - only the AI features (ingest, chat, ask, plan) do.