---
title: "List Workspace Tree"
method: GET
path: "/sessions/{session_id}/workspace/tree"
tags: ["workspace"]
---

# List Workspace Tree

`GET /sessions/{session_id}/workspace/tree`

## Request

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

List a Session's workspace files and the artifacts among them (workspace/tree alias).

## Path parameters

- `session_id` string, required

## Response `200`

Successful Response

- Files: Workspace file paths for one Session, with the artifacts among them.
  - `session_id` string, required
  - `files` string[], required
  - `artifacts` string[], required

## Other responses

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

## Changes

- **2026-10-24** `87de8fd61161`: 1 info
  - api operation id `list_files_sessions__session_id__workspace_tree_get` removed and replaced with `list_workspace_tree_sessions__session_id__workspace_tree_get`
- **2026-10-18** `d7771053c999`: 1 info
  - added the non-success response with the status `409`
- **2026-10-15** `f94854aad429`: 5 info
  - api operation id `workspace_tree_sessions__session_id__workspace_tree_get` removed and replaced with `list_files_sessions__session_id__workspace_tree_get`
  - api tag `workspace` added
  - added the required property `artifacts` to the response with the `200` status
  - added the required property `files` to the response with the `200` status
  - …1 more
- **2026-10-15** `49da87181f52`: 1 info
  - endpoint added

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