---
title: "Save Template"
method: POST
path: "/agents/{agent_id}/template"
tags: ["/agents"]
---

# Save Template

`POST /agents/{agent_id}/template`

## Path parameters

- `agent_id` string, uuid, required — ID of the agent

## Request body

- SaveTemplateRequest
  - `name` string, required — The name of the template

## Response `200`

Successful Response

- EmptyResponse

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/contextualai/apis/endpoints.md) · [All operations](https://skmtc.net/contextualai/apis/endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contextualai/endpoints/versions/ca7f807eec8b/schema)
