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

---
title: "List API keys"
description: "Lists all API keys for the org. Only the prefix is returned, not the full secret."
api: "GET /api/v0/orgs/{orgId}/keys"
---

<Aside full>

<RequestExample>

```bash
curl -X GET "https://api.example.com/api/v0/orgs/<orgId>/keys"
```

</RequestExample>

</Aside>

<OpenAPIEndpoint {...{"method":"get","path":"/api/v0/orgs/{orgId}/keys","summary":"List API keys","description":"Lists all API keys for the org. Only the prefix is returned, not the full secret.","parameters":[{"name":"orgId","in":"path","required":true,"description":"Org ULID.","schema":{"type":"string"}}],"responses":[{"status":"200","description":"","schema":{"type":"object","required":["keys"],"properties":{"keys":{"type":"array","items":{"type":"object","required":["id","name","prefix","createdAt"],"properties":{"id":{"type":"string","description":"ULID"},"name":{"type":"string"},"prefix":{"type":"string","description":"First 8 chars of the key for display."},"createdAt":{"type":"number","description":"Unix epoch ms"}}}}}}},{"status":"default","description":""}],"security":[],"servers":[]}} />

---

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