Okapi Okapi

POST /contents → endpoint removal

Exa API

Deprecated, no date

The body parameter highlightsPerUrl on the POST /contents endpoint has been deprecated without a shutdown date. Calls that continue to rely on this parameter will eventually fail once it is fully removed.


Calls it hits

  • POST /contents
  • body parameter highlightsPerUrl

What to use instead of these calls

Control highlight length with highlights.maxCharacters instead of highlightsPerUrl.

In Exa API's words

numSentences and highlightsPerUrl are deprecated.

Exa API, Announcement

Facts

API
Exa API api.exa.ai
Kind
Endpoint removal
Announced
February 2, 2026
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Exa API's own pages

Questions

When does this change take effect?

Exa API deprecated POST /contents, body parameter highlightsPerUrl without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Exa API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Exa API 6

  1. /research*Endpoint removal Stopped working
  2. /research*Endpoint removal Stopped working
  3. POST /searchBehaviour change Stopped working
  4. POST /searchBehaviour change Stopped working
  5. POST /searchBehaviour change Stopped working
  6. POST /searchBehaviour change Stopped working

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub