Prompts
Populate Prompt template
Retrieve the Prompt with the given ID, including the populated template.
By default, the deployed version of the Prompt is returned. Use the query parameters version_id or environment to target a specific version of the Prompt.
post/prompts/{id}/populate
Request
- Base URL: https://api.humanloop.com/v5
- URL: https://api.humanloop.com/v5/prompts/{id}/populate
- Auth: API key in header X-API-KEY
Path parameters
idstring required
Unique identifier for Prompt.
Query parameters
version_idstring
A specific Version ID of the Prompt to retrieve to populate the template.
environmentstring
Name of the Environment to retrieve a deployed Version from to populate the template.
Request body
object required
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.