531c9e2a7d23

OpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
cases

Get a case template by ID

Spaces method and path for this operation:

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/cases/templates/{template_id}</span></div>

Refer to Spaces for more information.

Returns the details of a case template. Requires the Cases feature to be enabled in the space.

get/api/cases/templates/{template_id}

Path parameters

template_idstring required

The identifier for the template.

Query parameters

versioninteger

The version number of the template to retrieve. If omitted, the latest version is returned.

Response

Indicates a successful call.

authorstring

The username of the template author.

{"stackTrail":"components:schemas:Cases_template_v2_response:properties:definition","oasType":"schema","type":"unknown","description":"The parsed template definition."}
definitionStringstring required

The raw YAML definition string.

deletedAtstring date-time nullable required

The date the template was soft-deleted, or null if active.

descriptionstring

A human-readable description of the template.

fieldCountinteger

The number of fields defined in the template.

isDefaultboolean

Whether this is the default template for its owner.

isEnabledboolean

Whether the template is enabled.

isLatestboolean required

Whether this is the latest version of the template.

lastUsedAtstring date-time

The date the template was last used to create a case.

latestVersioninteger required

The latest version number of this template.

namestring required

The display name of the template.

ownerstring required

The owning solution (e.g. cases, observability, securitySolution).

tagsstring[]

The words and phrases that help categorize templates. It can be an empty array.

templateIdstring required

The unique identifier of the template, shared across all versions.

templateVersioninteger required

The version number of this template revision.

usageCountinteger

The number of times this template has been used to create a case.