Part3 Developers

Project analytics

GET /organization/{orgId}/project/{projectId}/stats/analytics

Run analytics stats for a project

GET
/organization/{orgId}/project/{projectId}/stats/analytics
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string

Organization ID — must match the project's owning org.

projectId*string

Project ID.

Query Parameters

include*string

Comma-separated stat types to compute. Order does not matter. Stats: overdueByAssignee, avgReviewTime, documentVolume, topContributors, assignedDocuments, delaysByConsultantType, reviewTimeByConsultant, changeOrderSummary, documentTrend, overdueTrend, stepResponseTime, documentFlow.

from?string

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.).

to?string

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.

documentType?string

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.

documentStatus?string

Comma-separated document_status values (draft, issued, submitted, with-consultants, closed, accepted, approved, returned, etc.).

discipline?string

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.

assigneeId?string

Keep documents assigned to this user (Part3 user UID). overdueByAssignee keeps that user's own row.

creatorId?string

Keep documents created by this user (Part3 user UID).

userId?string

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.

granularity?string

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.

Value in"daily" | "weekly" | "monthly"
periods?string

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.

versions?string

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.

Default"latest"
Value in"latest" | "all"
drafts?string

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.

Default"exclude"
Value in"exclude" | "include"

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.part3.io/v1/organization/org_8a1b2c3d4e/project/proj_5f9a3c2e8b/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"
}
{
  "error": "Insufficient permissions"
}