Create a Prompt Version
Prompt Versions
Create a Prompt Version
Creates a new version of the prompt template in ‘draft’ state.
POST
Create a Prompt Version
Authorizations
Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).
Path Parameters
Unique prompt UUID.
Body
application/json
Example:
"Hello, {{.name}}!"
Response
Version created successfully

