Features
Dashboard API
The dashboard API provides summary data for teams that want a compact overview of their Lezu workspace.
What It Shows
The summary endpoint can be used to show:
- Project activity
- Usage information
- Billing and credit state
- Recent localization workflow status
Endpoints
GET /v1/dashboard/summary
GET /v1/dashboard/projects
GET /v1/dashboard/activity
GET /v1/dashboard/usage
Authorization: ApiKey lez_...
The Lezu dashboard uses browser session cookies for these endpoints. Custom server-side tools and backend integrations should use scoped API keys.
Browser requests must include credentials:
await fetch("https://api.lezu.app/v1/dashboard/summary", {
credentials: "include"
});
When To Use It
Use these endpoints when building a dashboard, admin page, or internal reporting view.
/v1/dashboard/summaryreturns a compact workspace overview./v1/dashboard/projectsreturns project summary rows with locale, key, and release counts./v1/dashboard/activityreturns recent imports, releases, and translation jobs./v1/dashboard/usagereturns usage totals and credit state.
Related Endpoints
| Method | Endpoint | Scope |
|---|---|---|
GET |
/v1/dashboard/summary |
usage:read |
GET |
/v1/dashboard/projects |
i18n:read |
GET |
/v1/dashboard/activity |
i18n:read |
GET |
/v1/dashboard/usage |
usage:read |
GET |
/v1/usage |
usage:read |
GET |
/v1/billing |
usage:read |
GET |
/v1/i18n/projects |
i18n:read |