Prompts

Update a prompt

Changed on

Updates an existing prompt in your workspace.

patch/prompts/v1/{promptId}

Request

  • Base URL
    https://api.langdock.com
  • URL
    https://api.langdock.com/prompts/v1/{promptId}
  • Auth
    HTTP bearer

Path parameters

promptIdstring uuid required

UUID of the prompt.

Request body

titlestring

Prompt title.

promptstring

Prompt content.

promptFolderIdstring uuid nullable

Folder UUID to assign, or null to remove the folder.

sharedWithWorkspaceboolean

Share the prompt with the workspace.

Response

Prompt updated successfully

Changes