# numSentences on POST /contents is deprecated

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

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.

## What to use instead

Use highlights.maxCharacters instead.

- API: Exa API (api.exa.ai)
- Kind: Parameter 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: November 6, 2026, against Exa API's own pages
- Page: https://www.okapi.bot/providers/exa/breaking-changes/numsentences-on-post-contents-is-deprecated/

## 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
