The dashboard endpoints give a quick operational overview of document activity within a tenant.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/juescoryisus/QualityDocD/llms.txt
Use this file to discover all available pages before exploring further.
GET /dashboard/summary returns aggregate counts across document version statuses, while GET /dashboard/recent returns the ten most recently created documents. Both endpoints are company-scoped by default — only a SUPER_ADMIN token bypasses the tenant filter and sees data across all companies.
Both endpoints are accessible to any authenticated user regardless of role. No additional role check is applied beyond the bearer token requirement.
GET /dashboard/summary
Returns the total number of document records and a breakdown of version counts by status for the authenticated company. Authentication: Bearer token required.Request headers
Bearer <token> — JWT issued by POST /auth/login.Response — 200 OK
Total number of document records belonging to the company. For
SUPER_ADMIN, this is the count across all companies.Breakdown of document version counts by status. A single document can have multiple versions; each version contributes independently to these counts.
Example
GET /dashboard/recent
Returns the 10 most recently created documents for the authenticated company, ordered bycreatedAt descending. Use this endpoint to populate a “recent activity” feed or a quick-access document list on the dashboard home screen.
Authentication: Bearer token required.
Request headers
Bearer <token> — JWT issued by POST /auth/login.Response — 200 OK
An array of up to 10 document objects. The array is empty if the company has no documents.List of document objects ordered by
createdAt descending.Example
SUPER_ADMIN scope
When the token belongs to aSUPER_ADMIN, both endpoints remove the company-scoping filter entirely:
GET /dashboard/summaryreturns totals and version status counts across all companies in the system.GET /dashboard/recentreturns the 10 most recently created documents across all companies — each result still includescompanyIdso you can identify which tenant it belongs to.
companyId claim in the JWT.