Examples & Best Practices

Usage Examples

Example 1: Analyzing Test Performance

User: "Let's analyze my Intelligems data. How is my Holiday Price Test performing?"

AI uses:
1. getExperiencesList(status: "active") - Find the test
2. getExperienceKeyMetrics(experienceId: "exp_456def") - Get metrics

AI responds: "Your Holiday Price Test is showing strong results with
18.75% lift in conversion rate and 95.2% statistical confidence..."

Example 2: Organizations List

User: "What organizations do I have access to in Intelligems?

Example 2: Audience Analysis

User: "What countries are converting best this month?"

AI uses:
1. getAudienceDataByCountryCode(startDate: "2024-12-01") - Get country data

AI responds: "Based on this month's data, the US has the highest
conversion rate at 5.79%, followed closely by Canada at 5.77%..."

Best Practices

Organization Context

  • Always specify the organization parameter when working with multiple organizations

  • Use getOrganizationsList first to see available organizations

  • Cache organization IDs in your workflow to avoid repeated lookups

Security

  • Never share your access tokens

  • Tokens are scoped to all organizations you have access to

  • Revoke access immediately if compromised

Last updated

Was this helpful?