ChatId - a client-minted UUID v4, never derived from content or location.
API reference sections
Schema
SendTurnRequest
Type object
Shape
| Field | Type | Description |
|---|---|---|
| operation_idrequired | string | |
| chat_idrequired | ChatId | |
| surfacerequired | AiSurface | |
| markdownrequired | string | |
| explicit_refs | array of ContextRef | Default |
| reasoning_override | ReasoningChoice or null | |
| web_search | boolean | |
| system_prompt_override | string or null | Debug-only, per-request replacement for Koru's bundled system prompt. Empty or omitted keeps the versioned bundled prompt. |
| replace_pinned_documents | boolean | When true, existing pinned documents are ignored and only the explicit refs are used as context for this turn. Used by the contextual AI pane, where the current document should replace prior context. |
| attachment_ids | array of ChatAttachmentId | Attachments already stored for this chat and not yet sent, in the order they go with the message. Only an agent chat takes any. |
| answers | NextMessageAnswers or null | A local agent's questions answered by this message (koru-ai D108): a set the agent asked in its reply and moved on from, whose answers go to it as the person's next message. The message is the answers alone - |
| skills | array of string | The skills the person picked (koru-ai D121), by the name a local agent lists each under ( |
{
"operation_id": "string",
"chat_id": "00000000-0000-4000-8000-000000000000",
"surface": "standalone",
"markdown": "string",
"explicit_refs": [],
"reasoning_override": "default",
"web_search": false,
"system_prompt_override": "string",
"replace_pinned_documents": false,
"attachment_ids": [
"00000000-0000-4000-8000-000000000000"
],
"answers": {
"invocation": {},
"answers": [
{
"question_id": "string",
"value": {
"label": "string",
"kind": "option"
}
}
]
},
"skills": [
"string"
]
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Used by
Generated from contract version 1. Last updated .
