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

---
title: "Get secret value"
description: "Get secret value"
api: "GET /api/v0/projects/{projectId}/environments/{environmentId}/secrets/{name}"
gridGap: 30
---

<Aside full>

<RequestExample>

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

</RequestExample>

</Aside>

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

---

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