GET
/
interactions
/
{id}
/
documents
/
{documentId}
curl --request GET \
  --url https://api.{environment}.corti.app/v2/interactions/{id}/documents/{documentId}
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "templateRef": "<string>",
  "isStream": true,
  "sections": [
    {
      "key": "<string>",
      "name": "<string>",
      "text": "<string>",
      "sort": 123
    }
  ]
}

Headers

Tenant-Name
string

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:

"copiloteu"

Path Parameters

id
string
required

The interaction ID representing the context for the request.

documentId
string
required

The document ID representing the context for the request.

Query Parameters

context
boolean

If true the response contains the context used to generated the document, such as fact, transcript or string.

Response

200
application/json
id
string

Unique ID of the generated document

name
string

Name of the generated document

templateRef
string

Reference for the used template

isStream
boolean
sections
object[]

Individual document sections