---
title: "Publish Prompt"
method: POST
path: "/api/admin/prompt-debug/prompts/{key}/publish"
tags: ["admin-prompt-debug"]
---

# Publish Prompt

`POST /api/admin/prompt-debug/prompts/{key}/publish`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/admin/prompt-debug/prompts/{key}/publish`
- Auth: HTTP bearer

## Path parameters

- `key` string, required

## Request body

- SrcApiRoutesAdminPromptDebugPublishRequest
  - `body` string, required
  - `params` object, nullable
  - `model` string, nullable
  - `note` string, nullable
  - `expected_parent_version` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
