Retrieve Prompt Deployment
BetaUsed to retrieve a Prompt Deployment given its ID or name.
Path parameters
id
Either the Prompt Deployment's ID or its unique name
Headers
X-API-KEY
X-API-Version
Response
id
created
label
A human-readable label for the deployment
name
A name that uniquely identifies this deployment within its workspace
last_deployed_on
input_variables
last_deployed_history_item_id
The ID of the history item associated with this Deployment's LATEST Release Tag
active_model_version_idsDeprecated
Deprecated. This now always returns an empty array.
status
The current status of the deployment
ACTIVE
- ActiveARCHIVED
- Archived
Allowed values:
environment
Deprecated. The value returned will always be 'PRODUCTION'.
Allowed values:
description
A human-readable description of the deployment