Skip to content

feat: developer dashboard — API keys + usage (Phase 2) - #6

Closed
oratis wants to merge 1 commit into
feat/agent-gatewayfrom
feat/agent-dashboard
Closed

oratis wants to merge 1 commit into
feat/agent-gatewayfrom
feat/agent-dashboard

Conversation

@oratis

@oratis oratis commented Jun 13, 2026

Copy link
Copy Markdown
Owner

What

Developer-facing console for the gateway (Phase 2). Stacked on feat/agent-gateway (merge it first).

Changes

  • DELETE /api/keys/{id} — revoke (owner-only, soft-delete via revokedAt).
  • GET /api/usage — per-user call totals + recent invocations.
  • /dashboard — create / copy-once / revoke API keys, a gateway quickstart, and a usage table (agent, protocol, status, latency).
  • Header: "API & Usage" link in the account menu.

Verification

tsc --noEmit clean. Verified in-browser: keys list, create-key secret reveal, and the usage table populated with real gateway calls (A2A 200/67ms + OpenAI shim 200/23ms).

🤖 Generated with Claude Code

- DELETE /api/keys/{id} (revoke; owner-only, soft-delete via revokedAt)
- GET /api/usage (per-user call totals + recent invocations)
- /dashboard: create / copy-once / revoke API keys, a gateway quickstart,
  and a usage table (agent, protocol, status, latency)
- Header: "API & Usage" link in the account menu

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant