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

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

<Aside full>

<RequestExample>

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

</RequestExample>

</Aside>

<OpenAPIEndpoint {...{"method":"get","path":"/api/v0/projects/{projectId}/environments/{environmentId}/secrets/download","summary":"Download secrets","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string"}},{"name":"environmentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","env","env-no-quotes","xargs","yaml","docker","dotnet-json"]}}],"responses":[{"status":"200","description":""},{"status":"default","description":""}],"security":[],"servers":[]}} />

---

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