Retrieves a paginated list of activities based on a given data key and source.

Returns: A response object containing a list of activities, along with pagination information.

getActivity(
  dataKey: String!
  activityType: [ActivityType]
  source: Source!
  limit: Int64!
  page: Int64!
): ActivityResponse!

Arguments

dataKey
String!
required

A unique key that is generated after a user has completed the data submission flow.

activityType
[ActivityType]
An array specifying the activity type of the data source that should be returned. e.g trip, stay, shop etc

source
Source!
required
The source from which to fetch activities, such as NETFLIX or AMAZON.

limit
Int64!
required

The maximum number of activities to return in a single response.

page
Int64!
required

The page number of the activity list to retrieve, allowing for pagination through large sets of data.

Type

ActivityResponse object