Rensei docs
API ReferenceWorker Protocol

Poll for a pending plugin verb invocation

The daemon polls this endpoint to pick up plugin verb invocations queued by workflow engine steps. Returns the oldest pending invocation for the daemon's org/project scope, atomically marking it as in-flight. Returns `{ invocationId: null }` when the queue is empty or the daemon lost a race. Auth: `Bearer rsk_*` via `getCliOrSessionAuth` OR runtime JWT (`authenticateDaemon`).

GET
/api/daemon/plugin-verbs/poll

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.

Header Parameters

X-Rensei-Bridge-Adapter?string

Adapter schema versions the daemon executes (e.g. v1). With X-Rensei-Bridge-Binaries, opts a host-bound runtime-JWT worker into the adapter lanes (ADR-2026-09-23 D9); ignored for rsk_*/user callers.

X-Rensei-Bridge-Binaries?string

Comma-separated name@version of binaries passing the host floor. A hint: the server serves only binaries this host holds an unrevoked consent for, whose consented subcommand set covers the contract.

Response Body

Poll result (empty or one invocation).

application/json
  1. response
invocationId*null
Example Request
curl -X GET 'https://app.rensei.ai/api/daemon/plugin-verbs/poll'
Example Response
{  "invocationId": null}