GroupStatistics
Aggregate document counts for a Group and period. Returned by the statistics field on Group.
Fields
| Field | Type | Description |
|---|---|---|
from | AWSDateTime! | Start of the period |
to | AWSDateTime! | End of the period |
granularity | StatisticsGranularity! | Size of each bucket in series |
utcOffsetMinutes | Int! | Minutes the caller's local time is ahead of UTC, used to cut the buckets |
sent | Int! | Documents created in the period (excludes removed documents) |
inProgress | Int! | Documents in status available or fields complete, created in the period |
completed | Int! | Completed documents created in the period, by their current status |
rejected | Int! | Rejected documents created in the period, by their current status |
signed | Int! | Documents signed (completed) in the period, counted by sign time. Unlike the other counts, which count documents created in the period, this counts documents whose sign time falls in the period, whenever they were created. Removed documents are excluded |
series | [StatisticsBucket!]! | Only the buckets that contain documents, in no guaranteed order. Your client fills in the empty buckets |
Query
query GroupStatistics($groupId: ID!) {
group(id: $groupId) {
statistics(
from: "2026-11-01T00:00:00Z"
to: "2026-11-30T23:59:59Z"
granularity: DAY
utcOffsetMinutes: 0
) {
sent
inProgress
completed
rejected
signed
series {
start
sent
completed
rejected
signed
}
}
}
}
See Group.statistics for the arguments and limits.