Prompt Render
Renders a prompt template with its variable values filled in
POST
Given a prompt ID, variable values, and optionally any hyperparameters, this API returns a JSON object containing the raw prompt template.
Note: Unlike inference requests, Prompt Render API calls are processed through Portkey’s Control Plane services.
Authorizations
Path Parameters
The unique identifier of the prompt template to render
Body
application/json
Note: Although hyperparameters are shown grouped here (like messages, max_tokens, temperature, etc.), they should only be passed at the root level, alongside 'variables' and 'stream'.
Response
200 - application/json
Successful rendered prompt
The response is of type object
.