File
Extract Content
Get the content of a specific file based on the file UUID.
GET
After the file is successfully uploaded, you can retrieve the file content through the file extraction interface. Note that GeekAI provides asynchronous file loading, so you need to poll the file content extraction interface to obtain the file content until it is retrieved. When polling, you can check the status
field in the response data to determine the file extraction status. status=reading
indicates that the file is being read, status=done
indicates that the file has been read successfully, and the file content can be obtained through the content
field value. If status=failed
, it means that the file reading failed.
cURL Request Example
Authorizations
token
Path Parameters
file UUID
Response
200
application/json
successful response
The response is of type object
.