---
title: "Get File Info"
method: GET
path: "/v1/volumes/{volume_id}/files/stat"
tags: ["Volume Files"]
---

# Get File Info

`GET /v1/volumes/{volume_id}/files/stat`

## Request

- Base URL: `https://api.anchorbrowser.io`
- URL: `https://api.anchorbrowser.io/v1/volumes/{volume_id}/files/stat`
- Auth: API key in header `anchor-api-key`

Size, type and modification time of one file.

## Path parameters

- `volume_id` string, uuid, required

## Query parameters

- `path` string, required

## Response `200`

File metadata

- VolumeFileInfoResponse
  - `data` VolumeFileInfoSchema
    - `path` string
    - `size` integer: Size in bytes
    - `etag` string, nullable
    - `content_type` string, nullable
    - `last_modified` string, date-time, nullable

## Other responses

- `404`: Volume or file not found

## Changes

- **2026-10-16** `b3bfdb98c79e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/changes/v1/volumes/:volume_id/files/stat/get.md)

---

[API](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api.md) - [All operations](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/revisions/9d755f22df0e?raw)
