Activity
An Activity is a log entry covering actions performed within a Group. Activities are retained for the last 90 days and provide a feed of events for non-solo users.
Fields
| Field | Type | Description |
|---|---|---|
id | ID | Unique identifier |
dt | AWSDateTime | When the activity occurred |
type | String | Activity type |
description | String | Human-readable description |
objectId | ID | ID of the related object |
groupId | ID | Group where the activity occurred |
userId | ID | User who performed the action |
source | String | Source of the activity |
xdata | AWSJSON | Additional structured data |
Query
Activities are accessed via Group.activityConnection (no pagination arguments):
query GetGroupActivity {
group(id: "Z3JwbGVnYWxlc2lnbxRldg==") {
activityConnection {
activities {
id
dt
type
description
objectId
userId
source
}
totalCount
}
}
}
Related
- Group — the group this activity belongs to