---
title: "List metadata instances on file"
method: GET
path: "/files/{file_id}/metadata"
tags: ["Metadata instances (Files)"]
---

# List metadata instances on file

`GET /files/{file_id}/metadata`

Retrieves all metadata for a given file.

## Path parameters

- `file_id` string, required

## Query parameters

- `view` string

## Response `200`

Returns all the metadata associated with a file.

This API does not support pagination and will therefore always return
all of the metadata associated to the file.

- Metadatas — A list of metadata instances that have been applied to a file or folder.
  - `entries` Metadata[] — A list of metadata instances, as applied to this file or folder.
    - `$parent` string — The identifier of the item that this metadata instance has been attached to. This combines the `type` and the `id` of the parent in the form `{type}_{id}`.
    - `$template` string — The name of the template.
    - `$scope` string — An ID for the scope in which this template has been applied. This will be `enterprise_{enterprise_id}` for templates defined for use in this enterprise, and `global` for general templates that are available to all enterprises using Box.
    - `$version` integer — The version of the metadata instance. This version starts at 0 and increases every time a user-defined property is modified.
  - `limit` integer — The limit that was used for this page of results.

## Other responses

- `403` — Returned when the request parameters are not valid.
- `404` — Returned when the user does not have access to the file.
- `default` — An unexpected client error.

---

[API](https://skmtc.net/box/apis/platform-api.md) · [All operations](https://skmtc.net/box/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/box/platform-api/revisions/ba8f087e1a4d/schema)
