POSThttp://localhost:5173/api/v1/private/prompts/versions
Body Parameters
View in API Reference
Request
$curl -X POST http://localhost:5173/api/v1/private/prompts/versions \
> -H "Content-Type: application/json" \
> -d '{
> "name": "name",
> "version": {
> "template": "template"
> }
>}'
Response