users/prompts

Create prompt

Create a new prompt template

post/api/users/prompts

Request

  • Base URL: https://localhost:8080
  • URL: https://localhost:8080/api/users/prompts
  • Auth: bearer (a scheme the document does not define)

Request body

titlestring required

Prompt title

descriptionstring

Optional description

templatestring required

Prompt template with {{variables}}

Example request

{
  "title": "My NDA Review",
  "template": "Review this {{document_type}} for {{party_name}}"
}

Response

idstring required
userIdstring required
titlestring required
descriptionobject
templatestring required
createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.