---
title: "Stream a content editing copilot chat response"
method: POST
path: "/api/v1/content-editor"
tags: ["ContentEditorCopilot"]
---

# Stream a content editing copilot chat response

`POST /api/v1/content-editor`

## Request body

- ContentEditorCopilotChatRequestDTO
  - `conversationId` string — Stable per-chat-session id used to group the conversation's AI spans in Sentry (gen_ai.conversation.id).
  - `documentIds` string[] — Organization documents to ground this turn's generations in, as selected by the author in the Studio. Their full text is folded into each tool call's instruction.
  - `draft` unknown
  - `draftId` string, uuid — The stored draft this turn's tools operate on, opened via POST /content-draft. Absent, no draft-changing tool is offered for the turn.
  - `messages` object[], required — The conversation so far, oldest first. Capped so a runaway client cannot post an unbounded history.
    - `id` string, required — Client-assigned identifier for this message
    - `role` string, required — The message author's role, e.g. 'user' or 'assistant'
  - `missionId` string — The mission this authoring session started from. Forwarded to the model provider as telemetry metadata only - it is never used as a lookup or authorization key.
  - `orgDescription` string — Organization description used to ground the chat system prompt. Tenant-supplied reference data, on the same footing as `orgName`.
  - `orgName` string — Organization name used to ground the chat system prompt. Tenant-supplied reference data, not a fact: the tools resolve org context server-side themselves.
  - `uiLanguage` 'en' | 'de' | 'fr' | 'es' | 'it' | 'nl' | 'zh-Hans', required — UI language of the requesting user

## Response `201`

## Changes

- **2026-09-04** `37a0dba85517` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/wejam/apis/jam/changes/api/v1/content-editor/post.md)

---

[API](https://skmtc.dev/wejam/apis/jam.md) · [All operations](https://skmtc.dev/wejam/apis/jam/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wejam/jam/revisions/37a0dba85517/schema)
