Retrieve a specific deployed prompt or the latest deployment in a specific deployment environment.
Workspace API key. Pass as Authorization: Bearer <key>.
The unique identifier of the prompt. Required for both specific and latest deployment retrieval. Unique identifier for an entity, between 20 and 80 characters.
20 - 80The unique identifier of the deployment. Set to 'latest' or 'current' to retrieve the latest deployment in the given environment.
The unique identifier of the deployment environment. Required when retrieving the latest deployment (deploymentId=latest). Unique identifier for an entity, between 20 and 80 characters.
20 - 80Deployment retrieved successfully.
A deployment is a specific instance of a prompt that has been deployed to a specific environment.
The unique identifier of the deployment.
The timestamp when the deployment was created.
1672511400000 <= x <= 33229420200000The timestamp when the deployment was last updated.
1672511400000 <= x <= 33229420200000The unique identifier of the user who created the deployment.
20 - 80The unique identifier of the user who last updated the deployment.
20 - 80The unique identifier of the project.
20 - 80The unique identifier of the prompt.
20 - 80The unique identifier of the deployment environment.
20 - 80The prompt snapshot that is deployed.