Documentation Index
Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
Use this file to discover all available pages before exploring further.
Event Properties
| Field | Value |
|---|
event | "template.created" |
confidential | boolean |
payload | object |
Public Payload
Confidential Payload
| Field | Type | Description |
|---|
title | string | Name given to the new template |
language | string | Language the template is written in |
numSections | number | Count of sections in the template |
Example
{
"event": "template.created",
"confidential": false,
"payload": {
"title": "SOAP",
"language": "en",
"numSections": 6
}
}
| Field | Type | Description |
|---|
title | string | Name given to the new template |
language | string | Language the template is written in |
numSections | number | Count of sections in the template |
template | TemplateCreatedPayload | Complete template object with all sections |
template object properties
| Field | Type | Description |
|---|
id | string | - |
name | string | - |
language | string | - |
sections | Section[] | - |
Section properties:| Field | Type | Description |
|---|
id | string | - |
title | string | - |
Example
{
"event": "template.created",
"confidential": true,
"payload": {
"title": "SOAP",
"language": "en",
"numSections": 6,
"template": {
"id": "template_1",
"name": "SOAP",
"language": "en",
"sections": [
{
"id": "section_1",
"title": "HPI"
}
]
}
}
}