> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mavioapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get template

> Retrieve detailed information about a template including its section definitions.

Returns the full template object including all section definitions with their titles, prompts, and types. Use this to understand the structure of a template before applying it to a meeting summary.

<ParamField path="id" type="string" required>
  The unique template identifier (e.g., `tpl_default_exec` or `tpl_a1b2c3d4e5`).
</ParamField>

### Response

<ResponseField name="id" type="string">
  Unique template identifier.
</ResponseField>

<ResponseField name="name" type="string">
  Template name.
</ResponseField>

<ResponseField name="description" type="string">
  Description of the template's purpose.
</ResponseField>

<ResponseField name="type" type="string">
  Template type: `built_in` or `custom`.
</ResponseField>

<ResponseField name="sections" type="array">
  Ordered array of section definitions.

  <Expandable title="Section object">
    <ResponseField name="title" type="string">
      The section heading displayed in the summary output.
    </ResponseField>

    <ResponseField name="prompt" type="string">
      The AI prompt used to generate content for this section.
    </ResponseField>

    <ResponseField name="type" type="string">
      Section output type: `paragraph` (free-form text), `bullet_list` (list of bullet points), or `table` (structured table).
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 timestamp when the template was created.
</ResponseField>

<ResponseField name="updated_at" type="string">
  ISO 8601 timestamp when the template was last modified.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.mavioapp.com/v1/templates/tpl_default_exec \
    -H "Authorization: Bearer mvo_live_abc123"
  ```

  ```python Python theme={null}
  template = client.templates.get("tpl_default_exec")
  for section in template.sections:
      print(f"  [{section.type}] {section.title}")
  ```

  ```javascript Node.js theme={null}
  const template = await client.templates.get('tpl_default_exec');
  template.sections.forEach(s => {
    console.log(`  [${s.type}] ${s.title}`);
  });
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "tpl_default_exec",
    "name": "Executive Summary",
    "description": "High-level overview with key decisions, action items, and next steps. Ideal for leadership updates.",
    "type": "built_in",
    "sections": [
      {
        "title": "Overview",
        "prompt": "Write a concise 2-3 sentence overview of what was discussed in this meeting, focusing on the main purpose and outcomes.",
        "type": "paragraph"
      },
      {
        "title": "Key Decisions",
        "prompt": "List the key decisions that were made during this meeting. Include who made or agreed to each decision.",
        "type": "bullet_list"
      },
      {
        "title": "Action Items",
        "prompt": "Extract all action items mentioned in the meeting. Include the assignee, description, and any mentioned deadlines.",
        "type": "table"
      },
      {
        "title": "Next Steps",
        "prompt": "Summarize the next steps and follow-up items discussed at the end of the meeting.",
        "type": "bullet_list"
      }
    ],
    "created_at": "2026-01-01T00:00:00Z",
    "updated_at": "2026-01-01T00:00:00Z"
  }
  ```
</ResponseExample>
