← Back to docs
Dashboard Guide
Everything in app.agensor.dev— your command centre for managing metering, keys, and revenue.
API Keys
Create and revoke secret keys under Settings → API Keys. Each key identifies you as the developer — keep them server-side only.
- Secret key (
sk_…) — used in your server with the SDK - Publishable key (
pk_…) — safe in browser / widget
Spend Analytics
The Spend tab shows credit consumption per user over time. Use this to identify high-spend users or debug unexpected charges.
Credit Thresholds
Set warn and alert thresholds on individual wallets via the Admin API. When a user's balance drops below the threshold, the SDK returns a breached field in the sync response.
// Set thresholds via admin API
await fetch('https://api.agensor.dev/v1/admin/wallet/thresholds', {
method: 'POST',
headers: {
Authorization: `Bearer ${ADMIN_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
apiKeyId: 'your-api-key-id',
userId: 'user-123',
warnThreshold: 500, // warn when balance <= 500
alertThreshold: 100, // alert when balance <= 100
}),
})Subscription Plan
Your current plan and active user count are shown in Settings → Plan. Upgrade to unlock more users — see pricing.