Skip to content

Conversation

@LiamHz
Copy link
Contributor

@LiamHz LiamHz commented Dec 30, 2025

Summary

Adds link_policy field to HighlightsContentsOptions TypedDict to support stripping or keeping links in highlights. This is a new API parameter available on search and contents endpoints.

Review & Testing Checklist for Human

  • Verify backend API actually supports linkPolicy parameter on highlights (this PR only adds SDK types)
  • Test with link_policy="strip" and link_policy="keep" to confirm API accepts both values

Notes

Requested by: [email protected] (@LiamHz)
Devin session: https://app.devin.ai/sessions/3d9a8bd68822476a9383ea8a4631e8e1

Related PRs adding this to other repos:

  • monorepo (shared types)
  • docs (exa-spec.yaml)
  • exa-js SDK

@devin-ai-integration
Copy link
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants