ts.tpl.create

Create a report template.

Create a report template.

Requires authentication

Description

Creates a new report template with a name, scope, and body. Templates define the structure for generated reports.

Parameters

NameTypeRequiredDefaultDescription
namestringYesTemplate name
scopestringYesTemplate scope: task, demand, endeavour
bodystringYesTemplate body (Markdown with placeholders)
langstringLanguage code
metadataobjectArbitrary key-value pairs

Response

Returns the created template.

{
  "created_at": "2026-03-07T10:00:00Z",
  "id": "tpl_a1b2c3d4e5f6...",
  "name": "Sprint Summary",
  "scope": "endeavour",
  "status": "active"
}

Errors

CodeDescription
not_authenticatedNo active login for this session
invalid_inputName, scope, and body are required