Dozor
Projects

Reveal a project's plaintext API key

OWNER-only. The single endpoint that returns plaintext key material; called from the dashboard's copy button on click. Sets `Cache-Control: no-store` so no proxy caches the value.

GET/api/projects/{projectId}/key

OWNER-only. The single endpoint that returns plaintext key material; called from the dashboard's copy button on click. Sets Cache-Control: no-store so no proxy caches the value.

Path Parameters

projectId*string

Project id (cuid)

Response Body

application/json

curl -X GET "https://loading/api/projects/string/key"
{
  "key": "dp_a1b2c3d4e5f6a7b8c9d0e1f2a3b4f7e8"
}
Empty
Empty
Empty