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
AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/daemon/landing/result" \  -H "Content-Type: application/json" \  -d '{    "orgId": "string",    "repoId": "string",    "proposal": 0,    "issueId": "string",    "linearSessionId": "string",    "verdict": "landed"  }'
{
  "ok": true,
  "orgId": "string",
  "issueId": "string",
  "proposal": 0,
  "verdict": "landed"
}
{
  "error": "Session not found"
}
{
  "error": "Session not found"
}
{
  "error": "Session not found"
}