---
title: "Get Agent Template"
method: GET
path: "/v2/agents/templates/{template_name}"
tags: ["Public API"]
---

# Get Agent Template

`GET /v2/agents/templates/{template_name}`

Retrieve a single agent template by its stable `template_name`.

## Path parameters

- `template_name` string, required

## Response `200`

Successful Response

- WebSearchAgentTemplateResponsePublicV2
  - `created_at` string, date-time, required — When the template was created.
  - `description` string, required — Template description shown to users.
  - `display_name` string, required — Human-friendly template name shown to users.
  - `effort` 'low' | 'medium' | 'high' | 'x-high' | '5x-high' | 'max', required — Canonical effort tier names for the research graph.
  - `goals` WebSearchAgentGoalResponsePublicV2[], required — Ordered goals for the template.
    - `goal` string, required — Goal text.
    - `id` string, required — Unique goal identifier (wsag_<uuid>).
    - `order` integer, required — Zero-based goal position.
  - `icon` string, required — Icon identifier used when presenting the template.
  - `id` string, required — Unique template identifier (wsat_<uuid>).
  - `output_schema` object, nullable, required — JSON schema describing the structured output the agent should produce.
  - `skill` string, required — Skill or operating context for the template.
  - `sources` WebSearchAgentSourceResponsePublicV2[], required — Ordered source groups for the template.
    - `domains` string[], required — Domains included in this source group.
    - `id` string, required — Unique source group identifier (wsas_<uuid>).
    - `order` integer, required — Zero-based source group position.
    - `title` string, required — Source group title.
  - `suggested_questions` WebSearchAgentSuggestedQuestionResponsePublicV2[], required — Suggested prompts for the template.
    - `id` string, required — Unique suggested question identifier (wsasq_<uuid>).
    - `order` integer, required — Zero-based suggested question position.
    - `question` string, required — Suggested prompt text.
  - `template_name` string, required — Stable template name used to create agent instances.
  - `updated_at` string, date-time, required — When the template was last updated.
  - `use_case` 'research' | 'enrichment' | 'dataset_building', required

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-17** `22c2a2291146` — 1 warning
  - added the new `5x-high` enum value to the `effort` response property for the response status `200`
- **2026-07-21** `b489cb71bc40` — 1 breaking, 1 info
  - removed the required property `domain_expertise` from the response with the `200` status
  - added the required property `skill` to the response with the `200` status
- **2026-07-20** `d4e4f170f4f4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nimbleway/apis/api-gateway/changes/v2/agents/templates/:template_name/get.md)

---

[API](https://skmtc.dev/nimbleway/apis/api-gateway.md) · [All operations](https://skmtc.dev/nimbleway/apis/api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nimbleway/api-gateway/revisions/d1947ec7af21/schema)
