Prompt Payloads
Create a Prompt Payload
Creates a new sample payload for the specified prompt. Only editors of the team can create.
post/v1/prompts/{id}/payloads
Path parameters
idstring uuid required
Unique prompt UUID.
Request body
Example request
{
"variables": {
"user": "Arpit",
"role": "Admin"
}
}Response
Prompt payload created successfully
Example response
{
"payload": {
"variables": {
"user": "Arpit",
"role": "Admin"
}
}
}