Skip to main content

activities Query

Returns a Relay Connection to a collection of Activity objects.

Access is permitted when any of the following condition(s) are met: 1. The object's 'user' attribute is the signed-in User. 2. The signed-in User has any of the following permissions for the associated Organization: [org_view_activities]. 3. The signed-in User has any of the following permissions for the object's 'user_Customer' attribute: [customer_view_activities].

Input fields

ArgumentTypeDescription
beforeStringSpecifies a cursor for use in combination with last to implement backward pagination.
afterStringSpecifies a cursor for use in combination with first to implement forward pagination.
firstIntA non-negative integer that specifies to return at most first edges after the after cursor.
lastIntA non-negative integer that specifies to return at most last edges before the before cursor.
offsetInt
descriptionStringFilter for objects where description matches the specified value.
description_IcontainsStringFilter for objects where description contains the specified value (case insensitive).
timestampDateTimeFilter for objects where timestamp matches the specified value.
timestamp_GtDateTimeFilter for objects where timestamp.gt matches the specified value.
timestamp_LtDateTimeFilter for objects where timestamp.lt matches the specified value.
timestamp_GteDateTimeFilter for objects where timestamp occurs on or after the specified value.
timestamp_LteDateTimeFilter for objects where timestamp occurs on or before the specified value.
userIDFilter for objects where user matches the specified ID.
orderByActivityOrderDEPRECATED. Prefer using sort_by instead as it allows ordering by many fields.
sortBy[ActivityOrder]Allows specifying many field and direction pairs to sort results by.

Return fields (ActivityConnection!)

edges ([ActivityEdge]!)

List of edges containing the nodes in this connection.

nodes ([Activity]!)

List of nodes in this connection.

pageInfo (PageInfo!)

Pagination data for this connection.

totalCount (Int!)

Total count of nodes available.