---
title: "Create prompt version"
method: POST
path: "/api/v1/prompts/{key}/versions"
tags: ["Prompts"]
---

# Create prompt version

`POST /api/v1/prompts/{key}/versions`

## Request

- Base URL: `https://arcadeops.leadalpes.fr`
- URL: `https://arcadeops.leadalpes.fr/api/v1/prompts/{key}/versions`
- Auth: none declared

Create prompt version.

## Path parameters

- `key` string, required

## Request body

- object
  - `orgId` string
  - `content` string
  - `system` string, nullable
  - `user` string, nullable
  - `tools` unknown
  - `notes` string, nullable

## Response `201`

Created

- object
  - `id` string, required
  - `templateId` string, required
  - `version` number, required
  - `content` string, required
  - `createdAt` string, required

---

[API](https://skmtc.dev/leadalpes/apis/arcadeops-api.md) · [All operations](https://skmtc.dev/leadalpes/apis/arcadeops-api/llms.txt) · [OpenAPI document](https://skmtc.dev/leadalpes/apis/arcadeops-api/revisions/f10422ec7412?raw)
