How to recover expired data

XRAY: Xray retention period / Why is my repository not fully indexed?

AuthorFullName__c
Reut Cohen
articleNumber
000005714
ft:sourceType
Salesforce
FirstPublishedDate
2023-05-09T13:50:46Z
lastModifiedDate
2023-05-09
VersionNumber
4
In order to recover expired data we will need to reindex the repository and select ‘Index now’ > ‘Index all Artifacts’ :

User-added image

When it comes to builds, all Xray data will be completely deleted after 15 days. In order to recover it we need to republish/rescan the build.
In order to rescan the build you may use the Scan Build REST API or by using the Scanning Published Builds with JFrog CLI.