Get File
Changed onFile metadata: name, folder, visibility, MIME type, size, creator.
The app's own access rule (FileService.get_file → FileAccessChecker.can_view): another user's private file is an indistinguishable 404, cross-team refs 404 on the bare team column first. Unlike the listing, a library-hidden file (show_in_library: false, e.g. canvas-embedded assets) IS readable by id — parity with the app's GET /files/{id}.
Request
- Base URLhttps://api.moda.app/v1
- URLhttps://api.moda.app/v1/drive/files/{file_id}
- AuthHTTP bearer
Path parameters
Prefixed file_ wire ID (Crockford base32 body) — the canonical, recommended form. For back-compat, a bare UUID string is also accepted in both path parameters and JSON request bodies (older integrations that stored raw UUIDs keep working), as is the prefix over a UUID body (file_00000000-0000-4000-8000-000000000000). All three are permanent, supported inputs; only the canonical form is ever emitted.
Headers
Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.
Response
Successful Response
Changes
- info
endpoint added
- info