Replay Handoff Prompt
Queue a handoff-prompt replay and return immediately.
The actual LLM call runs in a background task (it takes ~30-60s, too long for the ALB's 60s timeout). Poll GET /{template_id}/handoff-prompt/replay for the result — envelope status: pending | ok | failed.
Reconstructs the LLM state the speaker had at end-of-call: the ONBOARDING template's system_instructions + full seed transcript + current user-template state. Asks Claude to produce EXACTLY the handoff text it would have sent via send_chat_message.
Body (all optional): onboarding_template_id: override the onboarding template whose system_instructions guide the generated prompt. Default: whatever template actually guided the seed interview. seed_interview_id: override the seed interview. Default: the one linked via interviews.context.created_template_id.
Request
- Base URLhttps://api.roxels.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.