Retrieve file metadata by Aiwyn ID
Returns file metadata including filename, source type, status, and optional download URL.
Query Parameters:
includeDownloadUrl(optional, default: false) - When true, generates a time-limited signed download URL
Response includes:
- File metadata (id, filename, fileSource, fileStatus, active, timestamps)
- FileInfo metadata (size, creator information) if available
- Signed download URL (only when includeDownloadUrl=true and file has GCS path)
Note: Download URLs are time-limited (15 minutes) and should be used promptly.
Business Applications:
- Retrieve file metadata for display
- Generate download URLs for file access
- Verify file existence and status
Security
BearerAuth
- Mock serverhttps://api.doc.aiwyn.ai/_mock/bundle/api/v1/files/{id}
- Sandboxhttps://demo.api.aiwyn.ai/api/v1/files/{id}
- Staginghttps://staging.api.aiwyn.app/api/v1/files/{id}
curl -i -X GET \
'https://api.doc.aiwyn.ai/_mock/bundle/api/v1/files/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'