Organization analytics
GET /organization/{orgId}/stats/analytics
Run analytics stats for an organization
Authorization
bearer In: header
Path Parameters
Organization ID.
Query Parameters
Comma-separated stat types to compute. Order does not matter. Shared stats: overdueByAssignee, avgReviewTime, documentVolume, topContributors, assignedDocuments, delaysByConsultantType, reviewTimeByConsultant, changeOrderSummary, documentTrend, overdueTrend, stepResponseTime, documentFlow. Org-only: activityByProject.
ISO-8601 date or date-time. Lower bound for the stat (which timestamp is bounded depends on the stat — documents.createdAt, documents.dueDate, documentSections.reviewedAt, etc.).
ISO-8601 date or date-time. Upper bound, inclusive, same column as from. A bare date (2026-04-30) takes in that whole UTC day.
Comma-separated project UIDs to restrict the stat to. For web-app users this list is intersected with the projects they have access to — passing a project they cannot see filters it out silently.
Comma-separated document types from the document_type_code enum (matches documents.type exactly): Bulletin, CA, CD, Certificate, CO, minute, PC, Quote, report, RFI, SI, Submittal. Case-sensitive.
Comma-separated document_status values (draft, issued, submitted, with-consultants, closed, accepted, approved, returned, etc.).
Comma-separated consultant disciplines (project_consultants.type, any case), as the by-consultant stats name them. Stats of review sections (avgReviewTime, reviewTimeByConsultant, delaysByConsultantType) keep the sections of those disciplines; the other document stats keep documents a consultant in one reviews, through a section or a step response.
Keep documents assigned to this user (Part3 user UID). overdueByAssignee keeps that user's own row.
Keep documents created by this user (Part3 user UID).
Filter to one user (Part3 user UID). Currently used by assignedDocuments. For web-app users on assignedDocuments, this is force-overridden to their own UID server-side.
When set, stats that support bucketing (most of them — see the description for the per-stat support matrix) include a buckets array of {date, count} alongside the aggregate.
"daily" | "weekly" | "monthly"How many periods before the current one, when from is not set: a bucketed stat draws the period to (or today) falls in and this many before it, so periods + 1 buckets. Default 12 at any granularity for documentTrend, overdueTrend and documentFlow; for the other stats 7 (daily), 4 (weekly), 12 (monthly). Larger values are capped at 365 daily, 52 weekly, 24 monthly. Ignored when from is set. Pass as a string — query-string-encoded integer.
Which versions to count. latest (the default) counts each document once, at its current version; all counts every version, for resubmission measures. Applies to the stats that count open or overdue documents: documentSnapshot (all of its numbers), overdueByAssignee, overdueTrend and delaysByConsultantType.
"latest""latest" | "all"Whether a review verdict saved and not yet submitted counts. exclude (the default) leaves such drafts out while the submittal is open, so its review status, answered responses and review time read submitted verdicts only. include counts every saved verdict, as the web app stores the outcome. On a done or cancelled submittal every saved verdict counts either way.
"exclude""exclude" | "include"Response Body
application/json
application/json
application/json
curl -X GET "https://api.part3.io/v1/organization/org_8a1b2c3d4e/stats/analytics?include=overdueByAssignee%2CdocumentVolume%2CdocumentTrend"{
"overdueByAssignee": {
"all": [
{
"userId": "user_99a8b7c6d5",
"name": "Anika Patel",
"email": "anika@example.com",
"overdueCount": 7
},
{
"userId": "user_3b2a1c9d8e",
"name": "Marcus Chen",
"email": "marcus@example.com",
"overdueCount": 4
}
],
"byType": {
"RFI": [
{
"userId": "user_99a8b7c6d5",
"name": "Anika Patel",
"email": "anika@example.com",
"overdueCount": 5
}
],
"Submittal": [
{
"userId": "user_99a8b7c6d5",
"name": "Anika Patel",
"email": "anika@example.com",
"overdueCount": 2
},
{
"userId": "user_3b2a1c9d8e",
"name": "Marcus Chen",
"email": "marcus@example.com",
"overdueCount": 4
}
]
}
},
"documentVolume": {
"all": [
{
"userId": "user_99a8b7c6d5",
"name": "Anika Patel",
"email": "anika@example.com",
"documentCount": 28
}
],
"byType": {
"RFI": [
{
"userId": "user_99a8b7c6d5",
"name": "Anika Patel",
"email": "anika@example.com",
"documentCount": 12
}
],
"Submittal": [
{
"userId": "user_99a8b7c6d5",
"name": "Anika Patel",
"email": "anika@example.com",
"documentCount": 16
}
]
}
},
"documentTrend": {
"buckets": [
{
"date": "2026-04-06",
"count": 11
},
{
"date": "2026-04-13",
"count": 14
},
{
"date": "2026-04-20",
"count": 9
},
{
"date": "2026-04-27",
"count": 17
}
],
"granularity": "weekly"
}
}{
"error": "Insufficient permissions"
}{
"error": "Insufficient permissions"
}