documents
Create Document
Generate document.
POST
https://copilot.{region}.corti.app/
/
v2
/
interactions
/
{id}
/
documents
Path Parameters
id
string
requiredThe interaction ID representing the context for the request.
Query Parameters
stream
boolean
If true the response happens via SSE sending back a full valid JSON always, however, the content within text may be incomplete.
Body
application/json
context
object
requiredtemplateId
string
requiredtemplate
object
name
string
modelName
string
Response
200 - application/json
isStream
boolean
documentId
string
documentName
string
templateId
string
sections
object[]
Was this page helpful?