Org stats
GET /admin/stats/org/{orgId}
Get analytics stats for an organization. Specify which stats to compute via the include param. Each stat runs independently — only requested stats are computed.
Authorization
bearer In: header
Path Parameters
Organization UID
Query Parameters
Comma-separated stat types to include. Shared: overdueByAssignee, avgReviewTime, documentVolume, documentSnapshot, topContributors, assignedDocuments, delaysByConsultantType, reviewTimeByConsultant, changeOrderSummary, documentTrend, overdueTrend, stepResponseTime, documentFlow. Org-only: inactiveUsers, activityByProject, reviewTimeByProject. Platform-only: documentTrendByOrg. documentSnapshot is the right choice for 'how many documents of each type / in each status do I have?' questions — returns total, open, overdue, byType, byStatus, and the full byTypeAndStatus matrix in one call. documentFlow is RFIs and submittals received, returned (the response issued back, or the close) and still in review at each period end, always bucketed by the same default as documentTrend (monthly; weekly when from is given without granularity). documentType, documentStatus, discipline, assigneeId and creatorId filter every stat over documents; topContributors, activityByProject and inactiveUsers count activity and ignore them. Pass granularity (daily/weekly/monthly) to get time-bucketed trend data on supported stats.
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"ISO date — filter documents/activity created after this date
ISO date — filter documents/activity created up to and including this date (a bare YYYY-MM-DD takes in that whole UTC day)
Comma-separated project IDs (org-level only)
Comma-separated document types (e.g. "Submittal,RFI")
Comma-separated document statuses
Comma-separated consultant disciplines (any case). Stats of review sections (avgReviewTime, reviewTimeByConsultant, reviewTimeByProject, 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.
User ID: keep documents assigned to this user. overdueByAssignee keeps that user's own row.
User ID: keep documents created by this user.
User ID (required for assignedDocuments)
Time bucketing granularity. When set, supported stats add buckets (array of {date, count}) and granularity fields to their response alongside the existing aggregate data. The aggregate shape is unchanged — buckets are additive. Supported: overdueByAssignee, avgReviewTime, documentVolume, delaysByConsultantType, changeOrderSummary, stepResponseTime, documentTrend, overdueTrend, documentFlow, activityByProject, documentTrendByOrg. Not supported (point-in-time or flat array): topContributors, assignedDocuments, reviewTimeByConsultant, reviewTimeByProject, inactiveUsers.
"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, documentFlow and documentTrendByOrg; otherwise 7 for daily, 4 for weekly, 12 for monthly). Larger values are capped at 365 daily, 52 weekly, 24 monthly.
Response Body
application/json
application/json
curl -X GET "https://api.part3.io/v1/admin/stats/org/string?include=string"{}{
"error": "string"
}