Skip to main content
GET
/
v1
/
projects
/
{projectId}
/
environments
/
{envId}
/
api-keys
curl https://nest.feather.mupeni.dev/v1/projects/proj_01hx.../environments/env_01hx.../api-keys \
  -H "Authorization: Bearer <server_key>"
{
  "items": [
    {
      "id": "key_01hx...",
      "orgId": "org_01hx...",
      "environmentId": "env_01hx...",
      "type": "server",
      "keyPrefix": "sk_ab12",
      "description": "Backend service",
      "revokedAt": null,
      "createdAt": "2024-03-01T12:00:00.000Z"
    }
  ],
  "nextCursor": null,
  "hasMore": false
}
The raw key value is never returned after creation. Only keyPrefix is available for display.

Path parameters

projectId
string
required
envId
string
required

Query parameters

limit
number
Page size. 1–100, default 50.
cursor
number
Timestamp cursor from a previous response’s nextCursor.
curl https://nest.feather.mupeni.dev/v1/projects/proj_01hx.../environments/env_01hx.../api-keys \
  -H "Authorization: Bearer <server_key>"
{
  "items": [
    {
      "id": "key_01hx...",
      "orgId": "org_01hx...",
      "environmentId": "env_01hx...",
      "type": "server",
      "keyPrefix": "sk_ab12",
      "description": "Backend service",
      "revokedAt": null,
      "createdAt": "2024-03-01T12:00:00.000Z"
    }
  ],
  "nextCursor": null,
  "hasMore": false
}