Zum Hauptinhalt springen

GroupStatistics

Aggregate document counts for a Group and period. Returned by the statistics field on Group.

Fields​

FieldTypeDescription
fromAWSDateTime!Start of the period
toAWSDateTime!End of the period
granularityStatisticsGranularity!Size of each bucket in series
utcOffsetMinutesInt!Minutes the caller's local time is ahead of UTC, used to cut the buckets
sentInt!Documents created in the period (excludes removed documents)
inProgressInt!Documents in status available or fields complete, created in the period
completedInt!Completed documents created in the period, by their current status
rejectedInt!Rejected documents created in the period, by their current status
signedInt!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.

Export This Article

Save a copy of this page as PDF or plain text.