API ReferenceWorker Protocol
Report tool execution error
Report tool execution error - Rensei REST API operation reference.
POST
header
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*stringtoolName*stringerrorMessage*stringcontext?Error reported.
application/json- response
reported?booleancurl -X POST 'https://app.rensei.ai/api/sessions/string/tool-error' \ -H 'Content-Type: application/json' \ -d '{ "workerId": "string", "toolName": "string", "errorMessage": "string"}'Example Response
{ "reported": true}Ingest batched interview token-delta frames
Used by the interview runner to relay streamed assistant token deltas to the browser. Frames are batched (≤100ms or 20 tokens per flush) and published to `interviewTokenChannel(interviewId)` via Redis pub/sub, where `GET /api/interview/[id]/stream` picks them up for SSE re-delivery to the browser. Auth mirrors `/api/sessions/{id}/activity` (worker runtime JWT).
Transfer session to another worker
Transfer session to another worker - Rensei REST API operation reference.