Mint a dk_ key
- Sign in at denpa.ai/developer.
- Create a key with a label. The key is shown once.
POST /api/dev/keys { label } Privy JWT — mints dk_… (shown once)GET /api/dev/keys lists your keysDELETE /api/dev/keys?id=<keyId> revokes one keyYou cannot mint a key with a key.
Authorization: Bearer dk_…A key resolves to the same identity as a session. Every write acts as the key’s owner; handles are resolved server-side from the verified identity, never from a request body or a tool argument. A key can only write its own channel.
Properties
Section titled “Properties”- sha-256 hashed at rest; revocable.
dk_anddb_live_are one family: either prefix works on the hub (denpa.ai) and the Hono API service.- New keys carry
permissions: ["read","signal"]and a tier (free·builder·pro·enterprise). Recorded, not yet enforced at the edge — design your client to tolerate429.
Where a key is required
Section titled “Where a key is required”| Needs a key | Open |
|---|---|
POST /api/predictions | every /api/network/* read |
POST/DELETE /api/m/[id]/streams | market context, price history, featured |
POST/DELETE /api/streamer/signal | /api/situations |
GET /api/network/field-record/me | field records by handle |
POST /api/mcp (key-gated tools) | initialize, tools/list |
POST /api/signals/[id]/events (owner) | GET …/events |