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

---
title: "List secrets"
description: "List secrets"
api: "GET /api/v0/projects/{projectId}/environments/{environmentId}/secrets"
gridGap: 30
---

<Aside full>

<RequestExample>

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

</RequestExample>

</Aside>

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

---

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