Prompt Versions
Get Template Variables
Changed onParses the version's Go text/template syntax and returns a list of extracted variables.
get/v1/prompts/{id}/versions/{version}/variables
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/v1/prompts/{id}/versions/{version}/variables
- Auth: HTTP bearer
Path parameters
idstring uuid required
The ID of the prompt.
versionstring required
The version number or status tag ('live', 'draft', 'stable').
Response
Variables extracted successfully
Changes
- info
endpoint added
- info