prompts

Update prompt metadata

Changed on

Update a prompt's description and metadata by identifier.

patch/v1/prompts/{prompt_identifier}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

prompt_identifierstring required

The identifier of the prompt, i.e. name or ID.

Request body

descriptionstring nullable

New description for the prompt (null clears the description)

metadataobject

New metadata object for the prompt (replaces the existing metadata as a whole)

Response

The updated prompt

Changes