Prompts

Update a Prompt

Updates the description of a specific prompt by its unique UUID.

put/v1/prompts/{id}

Path parameters

idstring uuid required

The unique UUID of the prompt.

Request body

descriptionstring

Brief summary explaining the prompt purpose.

Example request

{
  "description": "Useful greeting prompt"
}

Response

Prompt updated successfully

Changes

Changed in 2 of the 18 revisions of this API.12

  • bed7a47c6f2511See the full diff
    • removed the required property prompt/team_id from the response with the 200 status

      response-required-property-removed

    • added the required property prompt/project_id to the response with the 200 status

      response-required-property-added

    • endpoint added

      endpoint-added