Skip to main content

Portal — Stats

Retrieve usage statistics and recent submission activity for your organization.

Requires JWT bearer authentication.

GET /api/portal/stats

GET https://api.pdfcanon.com/api/portal/stats

Response — 200 OK

{
"allTime": {
"total": 12450,
"success": 11890,
"failed": 310,
"rejected": 250
},
"currentMonth": {
"total": 1530,
"success": 1480,
"failed": 30,
"rejected": 20
},
"planLimit": 10000,
"usedThisMonth": 1530,
"usageLimitPercent": 15.3,
"averageProcessingMs": 287,
"recentSubmissions": [
{
"submissionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "SUCCESS",
"createdAt": "2026-01-15T12:35:00Z",
"completedAt": "2026-01-15T12:35:01Z"
},
{
"submissionId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"status": "FAILED",
"createdAt": "2026-01-15T12:30:00Z",
"completedAt": "2026-01-15T12:30:02Z"
}
]
}

Response fields

FieldTypeDescription
allTimeobjectCumulative counts since the organization was created
allTime.totalintegerTotal submissions across all time
allTime.successintegerSuccessfully normalized documents
allTime.failedintegerDocuments that failed normalization
allTime.rejectedintegerDocuments rejected by policy
currentMonthobjectCounts for the current billing period
planLimitintegerMonthly document quota for the current plan
usedThisMonthintegerDocuments processed this billing period
usageLimitPercentnumberPercentage of monthly quota consumed
averageProcessingMsinteger (nullable)Average processing time in milliseconds (null if no data)
recentSubmissionsarrayMost recent submissions with status and timestamps