Changelog
improved

Added Multi-Subtype Support for Generate Insights

We've standardized the way you control insight generation across our APIs by improving our insightSubtypes parameter on the generate-insights endpoint. This brings the same granular insight control you're familiar with from generate-content endpoint to our generate-insights endpoint.

Feature Details

You can now specify which insights you want using the insightSubtypes array parameter in generate-insights requests, just like you do in generate-content:

{
  "insightSubtypes": [
    "companyMarketTrends",
    "behavioralProfile",
    "socialMediaProspectRecentLinkedInPosts"
  ],
  "contactEmail": "daniel@acme.com"
}

The API will return only the requested insight types in the response:

{
  "insights": [
    {
      "type": "companyMarketTrends",
      "value": "Acme Corp is experiencing 40% YoY growth in the enterprise segment...",
      "confidence": 0.89
    },
    {
      "type": "behavioralProfile",
      "value": "Decision maker who prioritizes ROI and technical excellence...",
      "confidence": 0.85
    },
    {
      "type": "socialMediaProspectRecentLinkedInPosts",
      "value": "Recently shared thoughts on AI adoption in manufacturing...",
      "confidence": 0.95
    }
  ]
}

Availability

This standardization is available in:

  • generate-insights v3.2 and newer