Conversational prompt assistant that streams assistant reply deltas and may emit a draft prompt update. Classifies the user turn into chat, clarify, or draft mode, then streams a series of newline-delimited JSON events (mode, status, assistant-delta, reasoning-delta, draft-ready, done, error). Response uses application/x-ndjson; treat each line as a discrete event.
Documentation Index
Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Latest user turn in the assistant conversation. Classified into chat/clarify/draft mode before any prompt edit is attempted.
The prompt XML currently in the editor; used as read-only grounding for chat/clarify and as the basis for diff when drafting.
Prior assistant turns in this editor session, replayed so the model can carry context. Empty or malformed entries are dropped server-side.
Available runtime variables and field scopes; the assistant only references @variables that appear here and never invents new ones.
When true, the assistant clarifies ambiguity instead of drafting directly, and any draft uses the stronger XML architecture system prompt.
Pin to a specific provider/model (e.g. { provider: 'anthropic', model: 'claude-sonnet-4-6' }) overriding the org's default assignment.
{
"provider": "anthropic",
"model": "claude-sonnet-4-6"
}NDJSON event stream of assistant reply deltas and optional draft prompt
One newline-delimited JSON event from the prompt-assistant stream. Possible types: mode, status, assistant-delta, reasoning-delta, draft-ready, ai-setup-required, error, done.
mode, status, assistant-delta, reasoning-delta, draft-ready, ai-setup-required, error, done chat, clarify, draft