---
title: "Get Agent Template"
method: GET
path: "/agent-templates/{name}"
tags: ["templates"]
---

# Get Agent Template

`GET /agent-templates/{name}`

## Request

- Base URL: `https://api.agent4.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.agent4.io/agent-templates/{name}`
- Auth: none declared

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- TemplateOut
  - `name` string, required
  - `soul` string, required
  - `task` string, required
  - `tools` string[], required
  - `skills` string[], required
  - `history_window` integer, nullable
  - `max_output_tokens` integer, nullable
  - `model` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agent4/apis/chatagent-platform.md) · [All operations](https://skmtc.dev/agent4/apis/chatagent-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/agent4/apis/chatagent-platform/revisions/18e58f082ce3?raw)
