---
title: "Stat Workspace File"
method: GET
path: "/api/files/stat"
tags: ["workspace-files"]
---

# Stat Workspace File

`GET /api/files/stat`

## Query parameters

- `path` string, required

## Response `200`

Successful Response

- WorkspaceFileEntryResponse
  - `path` string, required
  - `kind` 'file' | 'directory', required
  - `byte_size` integer, nullable
  - `modified_at` string, nullable
  - `checksum_sha256` string, nullable

## Other responses

- `400` — Workspace file request is invalid
- `404` — Workspace file not found
- `422` — Validation Error
- `503` — Workspace files are unavailable

## Changes

- **2026-09-14** `571850c93e2c` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`
  - added the non-success response with the status `503`
- **2026-07-25** `7a85443866b7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/qredence/apis/fleet-rlm/changes/api/files/stat/get.md)

---

[API](https://skmtc.dev/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.dev/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc.dev/qredence/apis/fleet-rlm/revisions/6109fdb187b9?raw)
