Create a tag for a Prompt
POST/api/v1/prompttags/:prompt
Create a tag for a Prompt
Request
Path Parameters
prompt stringrequired
- application/json
Body
value string
Responses
- 201
- 400
- 404
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
error string
promptId string
promptName string
promptVersion integer
value string
{
"error": "string",
"promptId": "string",
"promptName": "string",
"promptVersion": 0,
"value": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...