ContentGenerationCopilot

Stream a content generation copilot chat response

post/api/v1/content-generation

Request body

conversationIdstring

Stable per-chat-session id used to group the conversation's AI spans in Sentry (gen_ai.conversation.id).

documentIdsstring[]

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.

{"stackTrail":"components:schemas:ContentGenerationCopilotChatRequestDTO:properties:draft","oasType":"schema","type":"unknown","description":"The draft as the browser currently holds it. The browser owns form state, so this is reconciled onto the stored record at the start of each turn."}
draftIdstring 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.

missionIdstring

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.

orgDescriptionstring

Organization description used to ground the chat system prompt. Tenant-supplied reference data, on the same footing as orgName.

orgNamestring

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

Changes