GET
/
interactions
/
{id}
/
documents
/
{documentId}
curl --request GET \
  --url https://api.{environment}.corti.app/v2/interactions/{id}/documents/{documentId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "templateRef": "<string>",
  "isStream": true,
  "sections": [
    {
      "key": "<string>",
      "name": "<string>",
      "text": "<string>",
      "sort": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "outputLanguage": "<string>",
  "usageInfo": {
    "creditsConsumed": 123
  }
}

Authorizations

Authorization
string
header
required

Input your token

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. Must be a valid UUID.

documentId
string
required

The document ID representing the context for the request. Must be a valid UUID.

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

The response is of type object.