---
title: "Admin Prompt Create"
method: POST
path: "/api/admin/prompts/{agent}"
tags: ["admin"]
---

# Admin Prompt Create

`POST /api/admin/prompts/{agent}`

## Request

- Base URL: `https://store.hypergpt.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://store.hypergpt.ai/api/admin/prompts/{agent}`
- Auth: HTTP bearer

Create a new version for `agent`. Pass activate=true to flip it on
immediately (deactivates the previous active row atomically).

## Path parameters

- `agent` string, required

## Cookies

- `access_token` string, nullable

## Request body

- PromptVersionCreate
  - `system_text` string, required
  - `tools_json` unknown[], nullable
    - unknown
  - `tool_choice` object, nullable
  - `model` string, nullable
  - `notes` string, nullable
  - `activate` boolean

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hypergpt/apis/hyperstore-api.md) · [All operations](https://skmtc.dev/hypergpt/apis/hyperstore-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hypergpt/apis/hyperstore-api/revisions/50dc6759e3b9?raw)
