Project Moonglade publisher docs

Publisher docs

Everything the dashboard does, over the API

The dashboard has no powers of its own: each of its actions is a call to Moonglade's REST API made as you, so your agent or your own code can do the same with its own credential. This list is made from the dashboard itself, so it lists every action it takes.

Over the API, most actions need no person present: an agent takes them with an API key that has the scope the route needs, an API key holding custody for those that move keys or access, its MCP tool with an OAuth grant, or its MCP tool with your device's token. A few take only your own sign-in, an ID token, and say why; the few that need a person in a browser say what an agent does instead. In the dashboard, an action marked "recent sign-in" asks you to sign in again when you signed in long ago.

Moonglade's own moderation console is the one surface with no public API: it is not on this host or the API's, and serves Moonglade's operators behind Identity-Aware Proxy.

In the dashboardOver the REST APIOver MCPWith no person presentNeeds a person: why
POST /signin none none none Signing in is a person's, in a browser; an agent uses the device grant or an API key.
POST /signin/setup POST /v0/me none none The account is the person's own, made from their sign-in; an agent registers its own entity with its keys instead (plan 8.3a).
POST /signout none none none A dashboard session exists only in a browser; an agent's credentials are revoked through their own routes.
POST /account/sessions/revoke none none none Dashboard sessions exist only in browsers; API keys, devices and authorizations are revoked through their own routes.
POST /keys (recent sign-in) POST /v0/me/api-keys none none A person issues an agent's credentials (plan 8.3a: the person approves a device once), so no key or grant mints another.
POST /keys/{id}/revoke DELETE /v0/me/api-keys/{id} none none Only the person's ID token revokes an API key, as only it makes one (plan 8.3a).
POST /entities/new POST /v0/draft-entities create_entity an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /import POST /v0/import import_url an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /import/{id}/entity POST /v0/draft-entities create_entity an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/manifest PUT /v0/entities/{ref}/draft/manifest draft_manifest an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/publish POST /v0/entities/{ref}/draft/publish publish an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/discard DELETE /v0/entities/{ref}/draft discard_draft an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/delete DELETE /v0/entities/{ref}/draft none an API key with the scope its route needs none
POST /entities/{ref}/pages/{rkey} PUT /v0/entities/{ref}/draft/records/{collection}/{rkey} put_record an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/pages/{rkey}/delete DELETE /v0/entities/{ref}/draft/records/{collection}/{rkey} delete_record an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/blobs/uploads POST /v0/blobs/uploads request_blob_upload an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/blobs/fetch POST /v0/blobs/fetch request_blob_upload an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/blobs/{blob}/delete (recent sign-in) DELETE /v0/blobs/{blob} none an API key with the scope its route needs none
POST /entities/{ref}/tools POST /v0/entities/{ref}/draft/tools create_tool an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/tools/import POST /v0/entities/{ref}/draft/tools/import POST /v0/entities/{ref}/tools/import import_tools an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/tools/{tool}/impl PUT /v0/entities/{ref}/draft/tool-impls/{tool} PUT /v0/entities/{ref}/tool-impls/{tool} set_tool_impl an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/tools/{tool}/impl/delete DELETE /v0/entities/{ref}/draft/tool-impls/{tool} DELETE /v0/entities/{ref}/tool-impls/{tool} set_tool_impl an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/tools/{tool}/test POST /v0/entities/{ref}/draft/tools/{tool}/test POST /v0/entities/{ref}/tools/{tool}/test test_tool an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/requests/{id}/decision POST /v0/action-requests/{id}/decision decide_request an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/notifications PUT /v0/entities/{ref}/notifications none an API key with the scope its route needs none
POST /entities/{ref}/notifications/auto-decide (recent sign-in) PUT /v0/entities/{ref}/notifications none none Auto-decide on removes the owner's confirmation step, so only the person's ID token turns it on, never an agent's credential (plan 8.3a; design m11.md D117).
POST /entities/{ref}/notifications/auto-decide/off PUT /v0/entities/{ref}/notifications none an API key with the scope its route needs none
POST /entities/{ref}/notifications/test POST /v0/entities/{ref}/notifications/test none an API key with the scope its route needs none
POST /entities/{ref}/protection PUT /v0/entities/{ref}/origin-protection none an API key with the scope its route needs none
POST /entities/{ref}/protection/test POST /v0/entities/{ref}/origin-protection/test none an API key with the scope its route needs none
POST /entities/{ref}/identity POST /v0/entities/{ref}/identity-checks start_identity_check an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/identity/{check}/session POST /v0/entities/{ref}/identity-checks/{checkId}/session none none Documents and liveness are human by nature (plan 8.3a): the provider's session opens in the person's own browser.
POST /entities/{ref}/moderation/appeals POST /v0/appeals none an API key with the scope its route needs none
POST /entities/{ref}/website PUT /v0/entities/{ref}/website link_website an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/website/check POST /v0/entities/{ref}/website/check link_website an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /entities/{ref}/website/unlink DELETE /v0/entities/{ref}/website link_website an API key with the scope its route needs; its MCP tool, with an OAuth grant none
POST /account/devices/{id}/revoke DELETE /v0/me/devices/{id} none none The person approves each device once (plan 8.3a) and alone revokes it: no agent cuts off the person's devices.
POST /account/devices/revoke (recent sign-in) DELETE /v0/me/devices none none The kill switch is the person's (plan 8.3a: the person approves each device once), so no credential of an agent revokes them all.
POST /account/authorizations POST /v0/me/authorizations none none A person sets a standing authorization once (plan 8.3a), so no agent widens what it may commit or pay without asking.
POST /account/authorizations/{id}/revoke DELETE /v0/me/authorizations/{id} none none Only the person who sets a standing authorization revokes it (plan 8.3a).
POST /account/approvals/{id}/decision POST /v0/me/approvals/{id}/decision decide_approval an API key with the scope its route needs; its MCP tool, with the person's device token none
POST /account/sync/reset (recent sign-in) DELETE /v0/me/sync none none Resetting the sync store deletes the keyring every device shares, so only the person signed in takes it (plan 8.3a; design m11.md D154).
POST /account/data/export (recent sign-in) GET /v0/me/export none none Everything the network holds about the person goes only to the person signed in (plan 9.5), never to an agent's credential (plan 8.3a): it includes what no grant releases, such as every section of the vault (plan 7.15).
POST /account/data/delete (recent sign-in) POST /v0/me/delete none none Deleting the account ends every device, standing authorization and grant the person gave (plan 7.20, 9.5), so only the person deletes it, never an agent's credential (plan 8.3a).
POST /account/labelers POST /v0/labelers none an API key with the scope its route needs none
POST /account/labelers/{ref} PUT /v0/labelers/{ref} none an API key with the scope its route needs none
POST /account/labelers/{ref}/retire DELETE /v0/labelers/{ref} none an API key with the scope its route needs none
POST /account/labels/disputes POST /v0/labelers/{did}/disputes none an API key with the scope its route needs none
POST /entities/{ref}/handover (recent sign-in) POST /v0/entities/{ref}/handovers none an API key holding custody none
POST /entities/{ref}/handover/{id}/cancel (recent sign-in) DELETE /v0/handovers/{id} none an API key holding custody none
POST /account/handovers/{id}/accept (recent sign-in) POST /v0/handovers/{id}/accept none an API key holding custody none
POST /account/handovers/{id}/decline (recent sign-in) POST /v0/handovers/{id}/decline none an API key holding custody none
POST /account/handovers/{id}/cancel (recent sign-in) DELETE /v0/handovers/{id} none an API key holding custody none
POST /entities/{ref}/team (recent sign-in) PUT /v0/entities/{ref}/team/{member} none an API key holding custody none
POST /entities/{ref}/team/{member}/remove (recent sign-in) DELETE /v0/entities/{ref}/team/{member} none an API key holding custody none
POST /account/teams/{operator} (recent sign-in) POST /v0/me/teams/{operator} none an API key holding custody none
POST /entities/{ref}/claim (recent sign-in) POST /v0/entities/{ref}/claim none an API key holding custody none
POST /claims/{id}/check (recent sign-in) POST /v0/claims/{id}/check none an API key holding custody none
POST /claims/{id}/cancel (recent sign-in) DELETE /v0/claims/{id} none an API key holding custody none

What each page reads

Every page of the dashboard reads the REST API as you, with GET alone; the Share tab and its poster also ask for the share link with a POST, a read that changes nothing. Your agent reads the same with its own credential, or with the MCP tool beside it.

In the dashboardReads over the REST APIOver MCP
GET /signin The sign-in form, a person's in a browser; an agent uses the device grant or an API key. none
GET /signin/setup Sends the browser to sign in: the setup form answers a sign-in only. none
GET /{$} GET /v0/me GET /v0/me/entities none
GET /entities/{ref} GET /v0/me/entities GET /v0/entities/{ref} get
GET /entities/{ref}/analytics GET /v0/entities/{ref}/visibility get_visibility
GET /entities/{ref}/visibility GET /v0/entities/{ref}/visibility get_visibility
GET /operators/{ref}/visibility GET /v0/entities/{ref}/visibility/rollup none
GET /keys GET /v0/me/api-keys GET /v0/me/entities none
GET /account/sessions Dashboard sessions exist only in browsers: the page lists the dashboard's own. none
GET /entities/new A form; its action is the REST call. none
GET /import A form; its action is the REST call. none
GET /import/{id} GET /v0/imports/{id} none
GET /entities/{ref}/draft GET /v0/me/entities GET /v0/entities/{ref}/draft/preview preview
GET /entities/{ref}/manifest GET /v0/me/entities GET /v0/entities/{ref}/draft/manifest GET /v0/entities/{ref}/manifest GET /v0/entities/{ref}/draft/preview preview
GET /entities/{ref}/pages GET /v0/me/entities GET /v0/repos/{ref}/records/{collection} GET /v0/entities/{ref}/draft/preview list_records
GET /entities/{ref}/pages/{rkey} GET /v0/me/entities GET /v0/repos/{ref}/records/{collection}/{rkey} GET /v0/entities/{ref}/draft/preview get_record
GET /entities/{ref}/versions GET /v0/me/entities GET /v0/entities/{ref}/manifests GET /v0/repos/{ref}/commits none
GET /entities/{ref}/blobs GET /v0/me/entities GET /v0/entities/{ref}/blobs none
GET /entities/{ref}/blobs/uploads/{upload} GET /v0/me/entities GET /v0/blobs/uploads/{upload} none
GET /entities/{ref}/share GET /v0/me/entities POST /v0/share GET /v0/entities/{ref} share
GET /entities/{ref}/share/poster GET /v0/me/entities POST /v0/share share
GET /entities/{ref}/website GET /v0/me/entities GET /v0/entities/{ref}/website link_website
GET /entities/{ref}/tools GET /v0/me/entities GET /v0/entities/{ref}/tools GET /v0/entities/{ref}/draft/preview GET /v0/entities/{ref}/function-alerts GET /v0/entities/{ref}/function-usage list_tools
GET /entities/{ref}/tools/{tool} GET /v0/me/entities GET /v0/entities/{ref}/tools GET /v0/entities/{ref}/draft/preview GET /v0/entities/{ref}/tool-impls/{tool} GET /v0/entities/{ref}/action-requests GET /v0/entities/{ref}/visibility list_tools
GET /entities/{ref}/requests GET /v0/me/entities GET /v0/entities/{ref}/action-requests list_pending_requests
GET /entities/{ref}/notifications GET /v0/me/entities GET /v0/entities/{ref}/notifications none
GET /entities/{ref}/protection GET /v0/me/entities GET /v0/entities/{ref}/origin-protection none
GET /entities/{ref}/identity GET /v0/me/entities GET /v0/entities/{ref}/identity-checks none
GET /entities/{ref}/moderation GET /v0/me/entities GET /v0/me/decisions GET /v0/labels none
GET /account/devices GET /v0/me/devices none
GET /account/authorizations GET /v0/me/authorizations GET /v0/me/devices none
GET /account/approvals GET /v0/me/approvals list_approvals
GET /account/sync GET /v0/me/sync GET /v0/me/devices none
GET /account/data What the export holds, and the deletion's plan, which the page reads in process (accounts.Service.Plan): the entities it names are those the deletion's 409 names. none
GET /account/labelers GET /v0/me/labelers GET /v0/me/entities none
GET /account/labels GET /v0/me/labeler-labels GET /v0/me/labeler-disputes GET /v0/me/entities none
GET /entities/{ref}/custody GET /v0/me/entities GET /v0/entities/{ref} GET /v0/me get
GET /entities/{ref}/site-folder GET /v0/me/entities GET /v0/entities/{ref}/site-folder none
GET /entities/{ref}/handover GET /v0/me/entities GET /v0/me/handovers none
GET /account/handovers GET /v0/me/handovers GET /v0/me/entities GET /v0/entities/{ref} none
GET /entities/{ref}/team GET /v0/me/entities GET /v0/entities/{ref}/team GET /v0/me none
GET /account/teams GET /v0/me/teams GET /v0/me/operators none
GET /operators/{ref}/sites GET /v0/operators/{ref}/sites none
GET /claim A form that names the entity to claim; it opens that entity's Claim page. none
GET /entities/{ref}/claim GET /v0/entities/{ref} GET /v0/me GET /v0/me/entities get
GET /claims/{id} GET /v0/claims/{id} none