Get worker detail
Returns live worker state from the registry. Auth: runtime JWT (preferred, `sub` must match worker ID) or user auth (`rsk_` key / session cookie with org + project membership check).
AuthorizationBearer <JWT>Short-lived worker runtime JWT minted by the platform. Claims bind the worker, project, organization, registration, and scopes.
id*stringWorker ID (format wkr_{hex}).
Worker detail.
application/json- response
id*stringFormat: wkr_{hex}
hostname*stringcapacity*integeractiveCount*integerHeartbeat-reported count (can be stale).
activeSessions?array<string>Authoritative active session list from Redis set.
registeredAt*integerUnix timestamp.
lastHeartbeat*integerUnix timestamp.
status*string"active""draining""offline"version?stringprojects?array<string>providers?array<string>curl -X GET 'https://app.rensei.ai/api/workers/string'{ "id": "string", "hostname": "string", "capacity": 0, "activeCount": 0, "activeSessions": [ "string" ], "registeredAt": 0, "lastHeartbeat": 0, "status": "active", "version": "string", "projects": [ "string" ], "providers": [ "string" ]}Transfer session to another worker
Transfer session to another worker - Rensei REST API operation reference.
Deregister a worker
Removes the worker from the registry and releases any remaining claims. Returns the list of sessions that were unclaimed as a result. Auth: runtime JWT only (`sub` must match worker ID).