get files by fileid
GET
https://api.wexa.ai/file/{projectID}/{file_id}
Last modified:2025-04-25 11:06:35
Retrieve File by ID
file_id
. This functionality allows you to access metadata such as the file's name, size, type, associated tags, and the timestamp of when it was uploaded. It's essential for managing and monitoring the files your AI coworkers utilize.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.wexa.ai/file//?projectID=67fdea40aac77be632954f13' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
"_id": "68060c4c064a778a5f18f9f5",
"projectID": "67fdea40aac77be632954f13",
"name": "Durga_prasad_new_resume.pdf",
"mime_type": "application/pdf",
"location": "storage_Durga_prasad_new_resume_4cb7.pdf",
"tags": [
"haha"
],
"source_type": "STORAGE",
"size_in_kb": 156.53515625,
"container_name": "67fdea40aac77be632954f13",
"url": "https://klotdev.blob.core.windows.net/67fdea40aac77be632954f13/storage_Durga_prasad_new_resume_4cb7.pdf?se=2025-04-23T21%3A18%3A29Z&sp=r&sv=2023-11-03&sr=b&sig=ChTPRJFm2TS769mfuGgD0kbMKyfCXCP4zS7/7DVtfAk%3D",
"connector_id": "68060c4c064a778a5f18f9f7",
"uploaded_on": 1745226829007,
"status": "failed"
}
Request
Path Params
projectID
string
required
file_id
string
required
Query Params
projectID
string
required
Example:
67fdea40aac77be632954f13
Header Params
x-api-key
string
required
Example:
{{x-api-key}}
Responses
Modified at 2025-04-25 11:06:35