Prompts
Deploy Prompt
Deploy Prompt to an Environment.
Set the deployed version for the specified Environment. This Prompt will be used for calls made to the Prompt in this Environment.
post/prompts/{id}/environments/{environment_id}
Request
- Base URL: https://api.humanloop.com/v5
- URL: https://api.humanloop.com/v5/prompts/{id}/environments/{environment_id}
- Auth: API key in header X-API-KEY
Path parameters
idstring required
Unique identifier for Prompt.
environment_idstring required
Unique identifier for the Environment to deploy the Version to.
Query parameters
version_idstring required
Unique identifier for the specific version of the Prompt.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.