Beta
Retrieve Prompt Deployment
Used to retrieve a Prompt Deployment given its ID or name.
Path parameters
id
Either the Deployment’s ID or its unique name
Headers
X_API_KEY
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. The Prompt execution endpoints return a prompt_version_id
that could be used instead.
status
The current status of the deployment
ACTIVE
- ActiveARCHIVED
- Archived
Allowed values:
environment
The environment this deployment is used in
DEVELOPMENT
- DevelopmentSTAGING
- StagingPRODUCTION
- Production
Allowed values:
description
A human-readable description of the deployment