List documents
Returns a list of previously generated documents. Use query parameters to filter by template, interaction, or label.
Authorizations
Input your token
Headers
Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.
"base"
Query Parameters
Filter documents by template UUID.
Filter documents by interaction UUID.
Filter documents by label in key:value format. Repeatable; matches documents that have any of the given labels.
Response
OK
The template ID used for generation. For a plain templateRef with no overrides this is the referenced template. For other paths it is the newly saved auto-generated template aggregate.
The specific template version that was used for generation.
The BCP 47 language tag of the generated output.
The generated document as a map of section ID to rendered string output. The sections array lists every section ID and its heading.
Key/value labels attached to this document.
The interaction whose context was used to generate this document, if supplied.
The generated document as a structured object keyed by section ID. The sections array lists every section ID and its heading.
Every section in the template version, in template order, including sections the model left empty. Use sectionId as the key into stringDocument and structuredDocument. The heading and labels let you render the section without a GET request per section.