Prompts
Get Prompt
Retrieve the Prompt with the given ID.
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.
get/prompts/{id}
Request
- Base URL: https://api.humanloop.com/v5
- URL: https://api.humanloop.com/v5/prompts/{id}
- 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.
environmentstring
Name of the Environment to retrieve a deployed Version from.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.