Rensei docs
API ReferenceWorker Protocol

Post merge-queue landing verdict

Called by a daemon worker with `LANDING_CAPABILITY` after attempting to land a commit onto the merge queue (automerge / fast-forward). Records the outcome and triggers post-landing cleanup (lock release, next-work promotion, Linear notification). Auth: runtime JWT. Cross-tenant guard: `orgId` in body must match the JWT's org claim (mismatch returns 404, not 403).

POST
/api/daemon/landing/result

Authorization

workerJwt
headerAuthorizationBearer <JWT>

Short-lived worker runtime JWT minted by the platform. Claims bind the worker, project, organization, registration, and scopes.

Request Body

application/json
  1. body
orgId*string
repoId*string

Canonical owner/repo form.

proposal*integer

Merge proposal sequence number.

issueId*string
linearSessionId*string
verdict*string
Value in"landed""conflict""failed"
message?string

Human-readable outcome message.

landedSha?string

The merged commit SHA (only on landed).

Response Body

Verdict recorded.

application/json
  1. response
ok*true
Value intrue
orgId*string
issueId*string
proposal*integer
verdict*string
Value in"landed""conflict""failed"
Example Request
curl -X POST 'https://app.rensei.ai/api/daemon/landing/result' \  -H 'Content-Type: application/json' \  -d '{  "orgId": "string",  "repoId": "string",  "proposal": 0,  "issueId": "string",  "linearSessionId": "string",  "verdict": "landed"}'
Example Response
{  "ok": true,  "orgId": "string",  "issueId": "string",  "proposal": 0,  "verdict": "landed"}