---
title: "Move a Prompt"
method: POST
path: "/v1/prompts/{id}/move"
tags: ["Prompts"]
---

# Move a Prompt

`POST /v1/prompts/{id}/move`

Moves a prompt from its current project to another project. Requires admin capability on both the source and target project (owning-team or org admin).

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `project_id` string, uuid, required — The target project to move the prompt into.

## Response `200`

Prompt successfully moved

- object
  - `prompt` Prompt, required
    - `id` string, uuid, required — Unique identifier.
    - `project_id` string, uuid, required — Unique identifier of the project the prompt belongs to.
    - `slug` string, required — Unique slug within the project.
    - `name` string, required — Name of the prompt container.
    - `description` string, required — Brief summary explaining the prompt purpose.
    - `status` 'active' | 'archived', required — Current status of the prompt container (active, archived).
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `400` — Invalid UUID format or project_id
- `401` — Unauthorized
- `403` — Forbidden (not an admin on the source or target project)
- `404` — Prompt or target project not found
- `409` — A prompt with this name or slug already exists in the target project

## Changes

- **2026-07-14** `bed7a47c6f25` — 2 breaking, 1 warning, 2 info
  - added the new required request property `project_id`
  - removed the required property `prompt/team_id` from the response with the `200` status
  - removed the request property `team_id`
  - added the non-success response with the status `409`
  - …1 more
- **2026-07-02** `e500bc0895c5` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
- **2026-06-29** `162c1e986d3a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/px0-ai/apis/px0-api/changes/v1/prompts/:id/move/post.md)

---

[API](https://skmtc.dev/px0-ai/apis/px0-api.md) · [All operations](https://skmtc.dev/px0-ai/apis/px0-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/px0-ai/px0-api/revisions/3ed72443989d/schema)
