# GET /2.0/file_version_retentions is deprecated

Box API deprecated GET /2.0/file_version_retentions without giving a shutdown date yet.

The GET /2.0/file_version_retentions endpoint has been deprecated without a shutdown date, noting that the "File retention API is now deprecated". Requests to this endpoint will eventually fail. The change impacts all callers currently querying file version retention policies via this route.

## What to use instead

List files under retention using GET /2.0/retention_policy_assignments/{id}/files_under_retention instead. Alternatively, query file versions with GET /2.0/retention_policy_assignments/{id}/file_versions_under_retention.

- API: Box API (api.box.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /2.0/file_version_retentions`
- Source: [Announcement](https://developer.box.com/reference/get-file-version-retentions/)
- Verified: October 26, 2026, against Box API's own pages
- Page: https://www.okapi.bot/providers/box-api/breaking-changes/get-2-0-file-version-retentions-is-deprecated/

## Box API's words

> File retention API is now 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
