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

Changes

Changed in 1 of the 18 revisions of this API.1