# numSentences on POST /contents is deprecated

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

The body parameter numSentences 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.

## What to use instead

Use highlights.maxCharacters instead.

- API: Exa API (api.exa.ai)
- Kind: Endpoint removal
- Announced: February 2, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /contents`, `body parameter numSentences`
- Source: [Announcement](https://exa.ai/docs/changelog)
- Verified: October 26, 2026, against Exa API's own pages
- Page: https://www.okapi.bot/providers/exa/breaking-changes/numsentences-on-post-contents-is-deprecated-2/

## Exa API's words

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

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
