Invoke a saved prompt template through API
You can invoke published public prompt templates in the Prompt Catalog through the
v2/prompt LLM Passthrough API endpoint.
To invoke a saved template, specify the template name and any parameter values in the endpoint. The API resolves the template, substitutes parameter values, applies the stored model configuration, and returns the response.
Key behavior
- You can invoke only published Public templates through the API.
- Parameter values provided in the request override any default values stored in the template.
- The model configuration stored in the template, such as model, temperature, and max tokens, is applied automatically.
Note: You cannot invoke private or draft templates through this API.