feat: add usage dashboard (GET /v1/usage endpoint + usage.html page)
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 10m59s

This commit is contained in:
Hoid 2026-02-25 14:06:07 +00:00
parent b2688c0cce
commit 5b59a7a010
6 changed files with 386 additions and 1 deletions

View file

@ -243,6 +243,7 @@ footer{border-top:1px solid var(--border);padding:48px 24px 32px;background:var(
<a href="#pricing">Pricing</a>
<a href="#docs">API Docs</a>
<a href="/docs" target="_blank">Swagger</a>
<a href="/usage">Usage</a>
<a href="#pricing" class="btn btn-primary btn-sm nav-cta">Get API Key</a>
</div>
<button class="nav-mobile" onclick="document.querySelector('.nav-links').classList.toggle('show')" aria-label="Menu"></button>
@ -702,12 +703,14 @@ screenshot = snap.<span class="fn">capture</span>(
<a href="#pricing">Pricing</a>
<a href="#playground">Playground</a>
<a href="/docs">API Docs</a>
<a href="/usage">Check Usage</a>
</div>
<div class="footer-col">
<h5>Developers</h5>
<a href="/docs">Swagger / OpenAPI</a>
<a href="#docs">Quick Start</a>
<a href="/health">Status</a>
<a href="/usage">Usage Dashboard</a>
</div>
<div class="footer-col">
<h5>Legal</h5>