---
title: "Stream a content generation copilot chat response"
method: POST
path: "/api/v1/content-generation"
tags: ["ContentGenerationCopilot"]
---

# Stream a content generation copilot chat response

`POST /api/v1/content-generation`

## Request body

- ContentGenerationChatRequestDTO
  - `conversationId` string
  - `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
  - `messages` object[], required
    - `id` string, required
    - `role` string, required
  - `missionId` string
  - `orgDescription` string
  - `orgName` string
  - `uiLanguage` 'en' | 'de' | 'fr' | 'es' | 'it' | 'nl' | 'zh-Hans', required — UI language of the requesting user

## Response `201`

## Changes

- **2026-09-02** `508c5e76f927` — 2 breaking, 1 info
  - added the pattern `^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$` to the request property `documentIds/items/`
  - the `documentIds/items/` request property format changed from no format to `uuid`
  - added the new optional request property `draftId`

[Change history](https://skmtc.dev/wejam/apis/jam/changes/api/v1/content-generation/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/508c5e76f927/schema)
