---
title: "file metadata"
method: GET
path: "/api/v1/files/{storage}/{path}"
---

# file metadata

`GET /api/v1/files/{storage}/{path}`

## Response `200`

OK

- FileInfo
  - `type` 'PRINT' | 'FW' | 'OTHER' — File could be Print file, firmware or other (e.g. configuration file)
  - `refs` object
    - `download` string
    - `icon` string
    - `thumbnail` string
  - `size` integer
  - `display_path` string
  - `display_name` string — Long Filename
  - `creation_timestamp` integer — Timestamp in seconds
  - `ro` boolean
  - `metadata` object — Print file metadata parsed from G-code, all data are optional
    - `bed_temperature` string — Degrees Celsius
    - `nozzle_temperature` string — Degrees Celsius
    - `brim_width` string — Milimeters
    - `estimated printing time (normal mode)` string
    - `faded_layers` string
    - `filament cost` string
    - `filament used [cm3]` string
    - `filament used [g]` string
    - `filament used [mm]` string
    - `filament_type` string
    - `fill_density` string — Percent
    - `initial_exposure_time` string — Seconds
    - `layer_height` string — Milimeters
    - `material_name` string
    - `exposure_time` string — Seconds
    - `max_exposure_time` string — Seconds
    - `max_initial_exposure_time` string — Seconds
    - `min_exposure_time` string — Seconds
    - `min_initial_exposure_time` string — Seconds
    - `nozzle_diameter` string — Milimeters
    - `print_time` integer — Seconds
    - `printer_model` 'MK3' | 'MK3S' | 'MINI'
    - `support_material` string
    - `ironing` string
    - `required_resin_ml` string
    - `profile` string

## Changes

- **2022-06-29** `868974146778` — 4 info
  - added the new optional `header` request parameter `Accept` to all path's operations
  - added the new optional `header` request parameter `Accept-Language` to all path's operations
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`
- **2022-05-26** `fe139cc78ad4` — 1 info
  - endpoint added
- **2021-02-22** `30eda14983ed` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/prusa3d/apis/prusalink-web/changes/api/v1/files/:storage/:path/get.md)

---

[API](https://skmtc.dev/prusa3d/apis/prusalink-web.md) · [All operations](https://skmtc.dev/prusa3d/apis/prusalink-web/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prusa3d/prusalink-web/revisions/bf45f7b0dd2e/schema)
