v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-2112360218.7 KB
Prompt Versions

Get Template Variables

Parses the version's Go text/template syntax and returns a list of extracted variables.

get/v1/prompts/{id}/versions/{version}/variables

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

variablesstring[]