Generate Editor Assistant
Ai
Generate Editor Assistant
Stream AI-generated questions/blocks for the editor assistant.
Streams SSE events:
- type: “message” - AI’s explanation text
- type: “question” - A generated question
- type: “block” - A block header (form mode only)
- type: “form_metadata” - Form name/description update (form mode only)
- type: “template_metadata” - Template name update (template mode only)
- type: “done” - Generation complete
- type: “error” - An error occurred
POST
Generate Editor Assistant
Documentation Index
Fetch the complete documentation index at: https://docs.decodahealth.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
The tenant you are making this request on behalf of
Your api key
Body
application/json
Request schema for the AI editor assistant endpoint.
Editor mode: 'template' for note templates, 'form' for check-in forms
Available options:
template, form User's natural language instruction
Serialized current editor state
Conversation history
PDF/image uploads (base64)
Response
Successful Response
