---
title: "Workspace Stat"
method: GET
path: "/sessions/{session_id}/workspace/stat/{rel_path}"
tags: ["workspace"]
---

# Workspace Stat

`GET /sessions/{session_id}/workspace/stat/{rel_path}`

## Request

- The document declares no server URL.
- Auth: none declared

Return the size and SHA-256 digest of one workspace file.

## Path parameters

- `rel_path` string, required
- `session_id` string, required

## Response `200`

Successful Response

- FileStat: Size and SHA-256 digest of one workspace file.
  - `path` string, required
  - `size_bytes` integer, required
  - `sha256` string, required

## Other responses

- `409`: A Turn or workspace change holds the Session lock; retry when it completes
- `422`: Validation Error

## Changes

- **2026-10-18** `d7771053c999`: 1 info
  - added the non-success response with the status `409`
- **2026-10-15** `f94854aad429`: 4 info
  - api tag `workspace` added
  - added the required property `path` to the response with the `200` status
  - added the required property `sha256` to the response with the `200` status
  - added the required property `size_bytes` to the response with the `200` status
- **2026-10-15** `49da87181f52`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/qredence/apis/fleet-rlm/changes/sessions/:session_id/workspace/stat/:rel_path/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/87de8fd61161?raw)
