Skip to main content
POST
Stream general chat responses

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Body

application/json
query
string
required
addon_name
string | null
chart_name
string | null
chart_version
string | null
compliance_focus
ComplianceFocus · object | null
conversation_history
ConversationMessage · object[] | null
conversation_id
string | null
current_values
Current Values · object | null
default_values
Default Values · object | null
draft_id
string | null
history_forked
boolean | null

When true, this turn forks the conversation at the end of the supplied conversation_history (edit-and-resend): the server fills in the turns before it from the stored transcript and never the branch after it.

idempotency_key
string | null
images
ImageAttachment · object[] | null
include_logs
boolean
default:true
interaction_mode
enum<string>
default:agentic
Available options:
ask,
agentic,
plan
is_config_page
boolean
default:false
launch_plan_approval_id
string<uuid> | null

The plan-level Launch Plan approval this turn acts under. A confirmation-gated write the approval covers is claimed under it and runs instead of asking for confirmation; anything it does not cover, and any call after the approval expired, was revoked or the plan changed, asks for confirmation as usual. Only the person who approved can act under it.

max_log_lines
integer
default:50
model_mode
string | null
namespace
string | null
page_context
PageContext · object | null
rag_context
RAGContext · object | null
regenerate_seed
string | null
repository_name
string | null
resource_name
string | null
resource_type
string | null
supersedes_plan_id
string | null
surface
enum<string> | null

The client rendering this turn. "web" is the native web chat, which can show a secure secret-entry form, so the session runner offers request_secret_input on the turn. Absent or empty keeps the default behaviour (no form is ever requested).

Available options:
web

Response

Streaming chat response