curl --request GET \
--url https://api.orq.ai/v2/files/{file_id} \
--header 'Authorization: Bearer <token>'{
"_id": "<string>",
"object_name": "<string>",
"purpose": "retrieval",
"bytes": 123,
"file_name": "<string>",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2025-12-08T10:34:28.651Z"
}Retrieves the details of an existing file object. After you supply a unique file ID, orq.ai returns the corresponding file object
curl --request GET \
--url https://api.orq.ai/v2/files/{file_id} \
--header 'Authorization: Bearer <token>'{
"_id": "<string>",
"object_name": "<string>",
"purpose": "retrieval",
"bytes": 123,
"file_name": "<string>",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2025-12-08T10:34:28.651Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the file
File details retrieved successfully
path to the file in the storage
The intended purpose of the uploaded file.
retrieval, knowledge_datasource, batch The id of the resource
The date and time the resource was created
Was this page helpful?