Prompts

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

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/v1/projects/{projectID}/prompts
  • Auth: HTTP bearer

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