Post milestone progress message
Post milestone progress message - Rensei REST API operation reference.
AuthorizationBearer <JWT>Short-lived worker runtime JWT minted by the platform. Claims bind the worker, project, organization, registration, and scopes.
id*stringapplication/json- body
workerId*stringmilestone?stringNamed milestone (e.g. claimed, worktree, started, running, tests, pr, completed, failed).
message?stringProgress message (forwarded to the activity buffer and Linear). Required except on beacon-only posts (beaconStep present), which write the beacon and skip both lanes.
beaconStep?stringStatus-beacon step text (the agent's own words, e.g. 'editing the sampler ISR'). Merged into the session metadata; the execution-shell descriptor prefers it over the derived clause. Optional — old runners omit it.
beaconAt?stringISO-8601 instant the beacon step was stamped. Defaults to receipt time when omitted. Optional — old runners omit it.
Progress stored.
application/json- response
stored?booleancurl -X POST 'https://app.rensei.ai/api/sessions/string/progress' \ -H 'Content-Type: application/json' \ -d '{ "workerId": "string"}'{ "stored": true}Worker rejection of a pre-claimed session
Allows a worker to reject a pre-claimed session (e.g. host capacity changed, workarea refused, or daemon is draining). Releases the claim and re-queues the session preserving its original priority. The original `QueuedWork` item must be supplied so the platform can re-enqueue without losing fields.
Record a routing observation (MAB reward)
Called by the runner at session end to report the outcome of a provider dispatch. Updates the Beta-distribution posterior for the `(provider, workType)` arm in the multi-armed bandit router and appends an observation entry. Best-effort: store errors return `{ recorded: false }` with HTTP 200 so a Redis blip never fails the worker's terminal flow.