---
title: "Save Agent Prompt"
method: PUT
path: "/gtm-internal/gtm-os/agent-prompts/{key}"
tags: ["gtm-internal"]
---

# Save Agent Prompt

`PUT /gtm-internal/gtm-os/agent-prompts/{key}`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/gtm-internal/gtm-os/agent-prompts/{key}`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Save the general prompt or one type's addendum. Blank or the default text reverts to the default.

## Path parameters

- `key` string, required

## Request body

- SaveAgentPromptRequest
  - `content` string, required

## Response `200`

Successful Response

- AgentPromptOut
  - `key` string, required
  - `content` string, required
  - `default` string, required
  - `customized` boolean, required
  - `updated_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
