Prompts

Create a prompt

Changed on

Creates a prompt in your workspace.

post/prompts/v1

Request

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

Request body

titlestring required

Prompt title.

promptstring required

Prompt content.

promptFolderIdstring uuid

Folder UUID to assign. Cannot be set when sharedWithWorkspace is true.

sharedWithWorkspaceboolean

Share the prompt with the workspace. Cannot be true when promptFolderId is set.

Response

Prompt created successfully

Changes