---
title: "Get Template"
method: GET
path: "/v1/workflow/templates/{template_id}"
tags: ["Workflow Templates"]
---

# Get Template

`GET /v1/workflow/templates/{template_id}`

Retrieve a specific workflow template by ID.

## Path parameters

- `template_id` string, required

## Response `200`

Successful Response

- WorkflowTemplate — A complete workflow template with all metadata.
  - `content_filter` ContentFilter — Composable content filter using logical operators.
    - `all_of` union[] — Match content satisfying all of these filters.
      - union
        - DocumentIdFilter — Filter by specific document identifiers.
          - `document_ids` string[], required — Set of document IDs to match.
          - `type` 'DOCUMENT_ID', required — Filter type identifier.
        - SourceFilter — Filter by content source identifiers.
          - `sources_ids` string[], required — Set of source IDs to match.
          - `type` 'SOURCE_TYPE', required — Filter type identifier.
    - `any_of` union[] — Match content satisfying at least one of these filters.
      - union
        - DocumentIdFilter — Filter by specific document identifiers.
          - `document_ids` string[], required — Set of document IDs to match.
          - `type` 'DOCUMENT_ID', required — Filter type identifier.
        - SourceFilter — Filter by content source identifiers.
          - `sources_ids` string[], required — Set of source IDs to match.
          - `type` 'SOURCE_TYPE', required — Filter type identifier.
    - `none_of` union[] — Exclude content matching any of these filters.
      - union
        - DocumentIdFilter — Filter by specific document identifiers.
          - `document_ids` string[], required — Set of document IDs to match.
          - `type` 'DOCUMENT_ID', required — Filter type identifier.
        - SourceFilter — Filter by content source identifiers.
          - `sources_ids` string[], required — Set of source IDs to match.
          - `type` 'SOURCE_TYPE', required — Filter type identifier.
  - `created_at` string, date-time, required — When the template was created.
  - `description` string, nullable — Brief description of what this template does.
  - `expected_input` object, nullable — Input placeholders, keyed by placeholder name.
  - `id` string, required — Unique template identifier.
  - `is_community` boolean, required — Whether this is a community-shared template.
  - `name` string, required — Template display name.
  - `prompt` string, required — The research prompt with optional placeholders.
  - `ranking_parameters` RankingParameters — Parameters that influence how search results are ranked.
    - `freshness_boost` integer, nullable — Prioritize more recent content (1-10).
    - `source_boost` integer, nullable — Boost results from high-quality, authoritative sources (1-10).
  - `research_plan` PlanOutput — A structured research plan with ordered steps.
    - `steps` Step[] — Ordered list of research steps.
      - `description` string, required — What this step will investigate or produce.
      - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'SKIPPED' | 'FAILED' — Status of a research plan step.
    - `title` string, required — Short title summarizing the research objective.
  - `expected_output` string, nullable — Optional guidance for the final answer's tone, structure, and format.
  - `updated_at` string, date-time, required — When the template was last modified.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/bigdata/apis/bigdata-structured-data-api.md) · [All operations](https://skmtc.dev/bigdata/apis/bigdata-structured-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bigdata/bigdata-structured-data-api/revisions/18082de268c4/schema)
