Interactions Listing
These functions are not enabled by default due to higher resource consumption. Contact support@recombee.com if you need to enable them, and please specify the types of interactions needed in your request.
| Name | Description | Example |
|---|---|---|
| user_interactions | Returns list of interactions by a particular user |
User Interactions
Returns a list of interactions by a particular user.
These interactions are of given interaction_types and are ordered by timestamp from the oldest to the most recent.
Each interaction is a dictionary with the following fields:
Definition
| Argument | Type | Meaning |
|---|---|---|
user_id |
| Id of a user |
interaction_types |
| Interaction types that should be returned |
num_interactions | Non negative | Optional. Return only that number of latest interactions. |