---
title: "GET /api/admin/files/{id}"
method: GET
path: "/api/admin/files/{id}"
tags: ["Administration/Files"]
---

# GET /api/admin/files/{id}

`GET /api/admin/files/{id}`

## Path parameters

- `id` string, required

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `bucketName` 'public' | 'private' | 'incoming', required
    - `url` string, required
    - `name` string, required
    - `fileType` 'IMAGE' | 'VIDEO' | 'DOCUMENT', nullable, required
    - `documentText` string, nullable
    - `contentType` 'application/msword' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'application/octet-stream' | 'application/pdf' | 'text/rtf' | 'application/vnd.ms-powerpoint' | 'application/vnd.openxmlformats-officedocument.presentationml.presentation' | 'application/vnd.ms-excel' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/kswps' | 'application/zip' | 'binary/octet-stream' | 'IMAGE' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/webp' | 'text/csv' | 'video/mp4' | 'video/webm' | 'video/quicktime' | 'video/x-msvideo' | 'video/x-matroska', nullable, required
    - `contentMd5Hash` string, nullable
    - `fileHash` string, nullable, required
    - `fileSize` number, nullable, required
    - `isMigrated` integer, nullable, required
    - `isPrivate` integer, nullable, required
    - `uploadUrl` string, nullable
    - `originalUrl` string, nullable
    - `previewUrl` string, nullable
    - `createdAt` string, date-time, nullable, required
    - `createdBy` string, nullable, required
    - `createdByCompanyId` string, nullable, required
    - `createdByApiKeyId` string, nullable, required
    - `createdByApiKeyLabel` string, nullable, required
    - `createdByImpersonateId` string, nullable, required
    - `createdByImpersonateName` string, nullable, required
    - `createdByUserId` string, nullable, required
    - `updatedAt` string, date-time, nullable, required
    - `updatedByApiKeyId` string, nullable, required
    - `updatedByApiKeyLabel` string, nullable, required
    - `updatedByCompanyId` string, nullable, required
    - `updatedByCompanyName` string, nullable, required
    - `updatedByImpersonateId` string, nullable, required
    - `updatedByImpersonateName` string, nullable, required
    - `updatedByUserId` string, nullable, required
    - `updatedByUserName` string, nullable, required
    - `normalizeAttemptedAt` string, date-time, nullable

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-08-31** `97e51f27dc77` — 29 breaking, 30 warning, 29 info
  - the response property `data/contentMd5Hash` became nullable for the status `200`
  - the response property `data/contentType` became nullable for the status `200`
  - the response property `data/createdAt` became nullable for the status `200`
  - the response property `data/createdBy` became nullable for the status `200`
  - …84 more

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/admin/files/:id/get.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) · [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/97e51f27dc77/schema)
