Date: November 26, 2025 The highlights feature is back in the JavaScript SDK. Following user feedback, we’ve reintroduced highlights in
exa-js v2.0.11, allowing you to extract key sentences from search results with relevance scores.
What’s Back
Thehighlights option is now available in search and contents operations:
highlights: true- Returns highlighted sentences with default settingshighlights: { numSentences, highlightsPerUrl, query }- Customize extraction behavior
highlights: string[]- Array of extracted key sentenceshighlightScores: number[]- Relevance scores for each highlight
Usage Examples
Basic highlights:Scope
This update applies only to the JavaScript SDK (exa-js). Other SDKs can access highlights via direct API calls.

