Prompt
Create Prompt
Two types of prompts can be created - a root prompt or a child prompt (aka Prompt Version in the app).
A root prompt can be created by providing the name
param, and it will always be tagged as production.
A child prompt can be created by providing the parent_id
param. Note that the name
param in this case will be ignored as all descendants from a root prompt would share the root’s name. is_prod
can also be provided to configure whether a child should be tagged as production.
POST
Authorizations
Body
application/json
The parameters to create a new prompt.
Response
200
application/json
Successful Response
The organization this resource belongs to.
The user this record belongs to.
The ID of the project the prompt belongs to.
Was this page helpful?