---
title: "Get Session Files"
method: GET
path: "/api/v1/research/{job_id}/session-files"
tags: ["grep-public-api"]
---

# Get Session Files

`GET /api/v1/research/{job_id}/session-files`

## Request

- Base URL: `https://api.grep.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.grep.ai/api/v1/research/{job_id}/session-files`
- Auth: none declared

List files in the agent's workspace.

For completed jobs: reads from code.storage (Pierre Storage API) — no sandbox needed.
For running jobs or fallback: reads from sandbox persistent volume.

Access: owner or Parcha admin only. Public-job CAPABILITY callers and
non-owner authenticated callers get 403 — the public link exposes the
report + sources, not the agent's workspace.

## Path parameters

- `job_id` union, required
  - string, uuid
  - string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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