# 📁 File

Download and access files associated with records and documents.

 - [GET /api/v1/files](https://dev.docs.api.aiwyn.ai/api/bundle/file/listfiles.md): **Retrieve a paginated list of files scoped to the tenant** Returns files across whitelisted sources: CLIENT_REQUEST, DELIVERABLE, REFERENCE_FILE, DMS_DIRECT_UPLOAD. **Optional Filters:** - `createdAf
 - [GET /api/v1/files/{id}](https://dev.docs.api.aiwyn.ai/api/bundle/file/getfilebyid.md): **Retrieve file metadata by Aiwyn ID** Returns file metadata including filename, source type, status, and optional download URL. **Query Parameters:** - `includeDownloadUrl` (optional, default: false)
