v1

latestOpenAPI 3.1.02026-07-2676188241.3 KB
Templates (Classic)

Get Template

Retrieves template by key.

get/templates/{key}

Path parameters

keystring required

The key of the template

The key of the template

Headers

Tenant-Namestring required

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:base

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Response

Template by key

updatedAtstring date-time nullable

The timestamp when the template was updated.

namestring required

Name of the template.

descriptionstring required

Description of the template.

additionalInstructionsstring nullable

Instructions or context for all template sections.

keystring required

Unique key for the template.

statusstring required

Status of the template.

documentationMode'global_sequential' | 'routed_parallel'

Configures the approach and underlying system prompt that govern how the LLM generates documentation.

Example response

{
  "documentationMode": "global_sequential",
  "templateSections": [
    {
      "section": {
        "documentationMode": "global_sequential"
      }
    }
  ]
}