Reference

Registry API

The pluginRegistry namespace of the server's typed RPC. Every procedure needs a signed-in session and acts in the selected Space.

Procedures

ProcedureInputResult
submit{ slug, version, manifest }The version, status pending
mine{ after?, limit? }Your versions, any status
submissions{ status?, after?, limit? }Review queue; status defaults to pending. Admins only
review{ versionId, decision: "approved" } or { versionId, decision: "rejected", reason }The decided version. Admins only
discover{ slug?, query?, after?, limit? }Approved versions. Search by name, ID or description.
install{ versionId }The installation, pinned to that version
switchVersion{ installationId, expectedVersionId, versionId }Same installation with a new approved version and zero grants.
installations{ after?, limit? }Your installations in the Space
setGrants{ installationId, botId, partIds }The installation with its current grants
uninstall{ installationId }{ ok: true }. Deletes the entries of any record app
appRecords{ installationId, partId, date?, after?, limit? }{ items, nextAfter, total }, newest first
addAppRecord{ installationId, partId, operationId, values }The saved entry
removeAppRecord{ installationId, partId, recordId }{ ok: true }

Objects

version
{
  "id": "…",
  "slug": "release-notes",
  "version": 1,
  "manifest": { "schemaVersion": 1, … },
  "status": "pending",
  "reason": null,
  "createdAt": "2026-11-19T10:00:00.000Z",
  "reviewedAt": null
}
installation
{
  "id": "…",
  "plugin": { "id": "…", "slug": "release-notes", "version": 1, … },
  "grants": [ { "botId": "…", "partId": "summary" } ],
  "createdAt": "2026-11-19T10:05:00.000Z"
}
record page
{
  "items": [
    {
"id": "0b6f…",
"values": { "date": "2026-11-20", "meal": "Porridge", "kcal": 480 },
"createdAt": "2026-11-20T08:10:00.000Z"
    }
  ],
  "nextAfter": null,
  "total": 480
}

Paging

List procedures take limit from 1 to 50 (default 20) and an opaque after cursor, and return { items, nextAfter }. nextAfter is null on the last page.

Rules

Record app entries

Errors

StatusWhen
401No session, or it expired. Sign in again.
403review or submissions from an account that isn't a deployment admin.
400The input or manifest doesn't match the schema, or an entry's values don't match the app's fields.
404The installation or record app part isn't yours in the selected Space.
409A slug or version already reserved, a version already reviewed, a stale expectedVersionId, or an operationId reused with other values or after its entry was removed.

Every message, with its fix, is in Errors and fixes. The exact schemas live in packages/contracts/src/integrations/plugin-registry.ts in the repository.