Add support for OCR text via fileText in Retrieve file details

Key Highlight:
The Retrieve file details endpoint now includes a new fileText object in the response. This object contains raw text extracted from the file using OCR and is controlled by the fileText query parameter. When set to true, the response includes the fileText object with the rawText property; when set to false (default), fileText object is returned with a null value.

Why it matters:
You can now access OCR-extracted text directly within the file details response, without needing to call a separate service.
This enables retrieving both the file and its extracted text in a single request. The extracted text can then be used for a range of use cases depending on integration needs, including downstream processing or analysis based on file content.

Example

{
"fileText": {
"rawText": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
}
}

Affected Resource:
GET ...{api}/{version}/companies//files/{fileID}/details

Note: The fileText.rawText value is available only for files uploaded after 2025-10-08 00:00:00. Files uploaded earlier will still return the fileText object, but the rawText value will be empty.