Rensei docs
API ReferenceWorker Protocol

Upsert plugin verb option snapshots

Called by the daemon to push option metadata (e.g. autocomplete choices) for installed plugin verbs back to the platform so users see up-to-date option lists in the workflow editor. Accepts a batch of snapshots for one `(orgId, projectId)` scope. Each entry is upserted by `(orgId, projectId, pluginId, verbId)`. Auth: `Bearer rsk_*` via `getCliOrSessionAuth` OR runtime JWT. Cross-tenant guard on `body.orgId`. Additional project-boundary guard on `body.projectId`.

POST
/api/daemon/options/snapshot

Authorization

headerAuthorizationBearer <rsk_live_*>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

Request Body

application/json
  1. body
orgId*string

Must match the authenticated org.

projectId?string

Scopes snapshots to a specific project. Defaults to org-wide scope.

snapshots*array<>
Items1 <= items

Response Body

Snapshots upserted.

application/json
  1. response
ok*true
Value intrue
upserted*integer
skipped?array<string>

verbIds that were skipped (stale snapshot, duplicate, etc.).

Example Request
curl -X POST 'https://app.rensei.ai/api/daemon/options/snapshot' \  -H 'Content-Type: application/json' \  -d '{  "orgId": "string",  "snapshots": [    {      "pluginId": "string",      "verbId": "string",      "options": null    }  ]}'
Example Response
{  "ok": true,  "upserted": 0,  "skipped": [    "string"  ]}