> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "Get environment"
description: "Get environment"
api: "GET /api/v0/projects/{projectId}/environments/{id}"
gridGap: 30
---

<Aside full>

<RequestExample>

```bash lines=false
curl -X GET "https://api.example.com/api/v0/projects/<projectId>/environments/<id>"
```

</RequestExample>

</Aside>

<OpenAPIEndpoint {...{"method":"get","path":"/api/v0/projects/{projectId}/environments/{id}","summary":"Get environment","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":[{"status":"200","description":"","schema":{"type":"object","required":["id","projectId","name","slug","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"createdAt":{},"updatedAt":{}}}},{"status":"404","description":"","schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}},{"status":"default","description":""}],"security":[],"servers":[]}} />

---

*Powered by [holocron.so](https://holocron.so)*
