Okapi Okapi

Exa API numSentences body parameter removal on POST /contents

Deprecated, no dateSubscribe to Exa APIShare

Exa API has deprecated the body parameter numSentences on the POST /contents endpoint without a shutdown date. Calls continuing to use this parameter will eventually fail once it is removed.


Calls it hits

  • POST /contents
  • body parameter numSentences

What to use instead of these calls

Use highlights.maxCharacters instead.

In Exa API's words

maxCharacters for highlights: now the preferred way to control highlight length. numSentences and highlightsPerUrl are deprecated.

Exa API, Announcement

Facts

API
Exa API api.exa.ai
Kind
Parameter 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 numSentences 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 7

  1. /research*Endpoint removal Stopped working
  2. POST /searchBehaviour change Stopped working
  3. POST /searchBehaviour change Stopped working
  4. No date POST /searchParameter removal Deprecated, no date
  5. No date POST /contentsParameter removal Deprecated, no date
  6. No date POST /contentsParameter removal Deprecated, no date
  7. No date POST /findSimilarEndpoint removal Deprecated, no date

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

Get notifications

Subscribe to Exa API

Hear about each breaking change Exa API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Exa API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.