templates
Get Template
interactions
documents
alignment
classification
explainability
swagger
templates
Get Template
Retrieves template by key.
GET
/
templates
/
{key}
curl --request GET \
--url https://api.{environment}.corti.app/v2/templates/{key}
{
"date_updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"key": "<string>",
"status": "<string>",
"template_sections": [
{
"sort": 123,
"sections_id": {
"date_updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"alternate_names": [
"<string>"
],
"key": "<string>",
"description": "<string>",
"default_writing_style": {
"name": "<string>"
},
"section_type": "<string>",
"translations": [
{
"languages_id": "<string>",
"name": "<string>",
"description": "<string>"
}
]
}
}
],
"translations": [
{
"languages_id": "<string>",
"name": "<string>",
"description": "<string>"
}
]
}
Headers
Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.
Example:
"copiloteu"
Response
200
application/json
Template by key
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.{environment}.corti.app/v2/templates/{key}
{
"date_updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"key": "<string>",
"status": "<string>",
"template_sections": [
{
"sort": 123,
"sections_id": {
"date_updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"alternate_names": [
"<string>"
],
"key": "<string>",
"description": "<string>",
"default_writing_style": {
"name": "<string>"
},
"section_type": "<string>",
"translations": [
{
"languages_id": "<string>",
"name": "<string>",
"description": "<string>"
}
]
}
}
],
"translations": [
{
"languages_id": "<string>",
"name": "<string>",
"description": "<string>"
}
]
}