Skip to main content
Important: User interaction records have dependencies students. The system validates the student_id against existing records in the database. You should upload student data before uploading user interaction records to ensure proper data validation. The item_id field must reference the correct item type as specified by item_type.

Schema

Field Descriptions

Required Fields

Optional Fields

Example

Source Field for Recommendation Feedback

The source field is used to track whether user interactions originated from recommendation API responses:
  • null: The interaction occurred through normal user browsing (not from a recommendation)
  • "COBI": The interaction occurred when a user clicked on or interacted with an item that was recommended by the Cobi recommendation API
This field is crucial for:
  • Feedback Loop: Helps the recommendation system understand which recommendations led to user engagement
  • Analytics: Track the effectiveness of recommendation algorithms
  • Model Training: Improve future recommendations based on user interaction patterns

Example Usage

When a user receives recommendations from the API and clicks on a recommended offer:

Best Practices

  1. Data Validation: Ensure all required fields are present and properly formatted.
  2. Timestamps: Use a valid positive integer or ISO 8601 string for event_timestamp.
  3. Platform: Use one of the allowed values for platform.
  4. Source Tracking: Always set source to “COBI” when tracking interactions from recommendation API responses.
Need help? Contact our support team at [email protected]