v1
latestOpenAPI 3.1.02026-07-2676188241.3 KBGenerate Document
This endpoint offers different ways to generate a document. Find guides to document generation here.
Path parameters
The unique identifier of the interaction. Must be a valid UUID.
Headers
Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.
Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.
With the optional header X-Corti-Retention-Policy:none the API will generate and return the document as expected, but the generated document will not be saved to the database. The response will include the header X-Corti-Retention-Policy:acknowledged to confirm that your retention preference was respected. If the header is omitted or set to any other value, the default retention policy will apply, and the document will be stored in the database.
Request body
Example request
{
"context": [
{
"data": [
{
"group": "Others"
}
]
}
],
"documentationMode": "global_sequential"
}Response
Example response
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}