---
title: "Get the deployed Prompt Version to a particular Environment"
method: GET
path: "/prompts/v2/deployment"
tags: ["Prompts"]
---

# Get the deployed Prompt Version to a particular Environment

`GET /prompts/v2/deployment`

## Query parameters

- `name` string, required
- `environmentName` string, required

## Response `200`

Deployed prompt version object

## Other responses

- `404` — Prompt deployment not found for the specific environment name
- `500` — Internal server error

---

[API](https://skmtc.dev/pezzolabs/apis/pezzo-api.md) · [All operations](https://skmtc.dev/pezzolabs/apis/pezzo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pezzolabs/pezzo-api/revisions/09d1b407a7e9/schema)
