v51

latestOpenAPI 3.0.3agplraw.githubusercontent.com2026-08-014010324.1 KB
assistant_api

Extract text from file

Parse and extract text content of a file (if the file type is supported)

post/ocs/v2.php/apps/assistant/api/{apiVersion}/parse-file

Path parameters

apiVersion'v1' required

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

filePathstring nullable

Path of the file to parse in the user's storage

fileIdinteger nullable

Id of the file to parse in the user's storage

Response

Text parsed from file successfully