v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-2112360218.7 KB
Prompts

Create a Prompt

Creates a new prompt inside a project. The requester must be an editor-or-above on the project (via the owning team or a granted team).

post/v1/projects/{projectID}/prompts

Path parameters

projectIDstring uuid required

The ID of the project.

Request body

namestring required
descriptionstring
slugstring

Example request

{
  "name": "My Prompt",
  "description": "Useful prompt",
  "slug": "my_prompt"
}

Response

Prompt created successfully