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"
}
}
}Changes
Changed in 2 of the 18 revisions of this API.2
- ○
the endpoint scheme security
ApiKeyAuthwas removed from the APIapi-security-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○