---
title: "Get file metadata"
method: GET
path: "/v1/files/{fileId}/metadata"
tags: ["Files"]
---

# Get file metadata

`GET /v1/files/{fileId}/metadata`

Retrieves metadata information for a specific file including size, type, and custom metadata

## Path parameters

- `fileId` string, required

## Response `200`

File metadata object

- object — File metadata object
  - `id` string, required — Unique identifier for the file
  - `created_at` string, date-time, nullable — When the file was created
  - `created_by` string, nullable — User ID who created the file
  - `filename` string, required — Original name of the file
  - `file_path` string, required — Storage path of the file
  - `file_type` string, required — MIME type of the file
  - `file_size` number, required — Size of the file in bytes
  - `model_id` string, required — Associated 3D model ID
  - `metadata` object, required — Additional metadata associated with the file
  - `activePlateNumber` number — Active plate number
  - `project_filaments` object[] — Filaments used in the project
    - `id` string — Filament ID
    - `type` string — Filament type
    - `color_hex` string — Filament color
    - `color_rgba` string — Filament color RRGGBBAA in Hex format
    - `used_m` number — Filament used meters
    - `used_g` number — Filament used grams

## Other responses

- `404` — File not found
- `500` — Internal server error

---

[API](https://skmtc.net/printhiv3d/apis/hive-api-documentation.md) · [All operations](https://skmtc.net/printhiv3d/apis/hive-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/printhiv3d/hive-api-documentation/versions/3b06bcb5f808/schema)
