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

# Get Session File Content

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

## 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/{file_path}`
- Auth: none declared

Get the content of a specific file from the agent's sandbox workspace.

Access: owner or Parcha admin only (see ``_require_workspace_access``).
Public-job CAPABILITY callers and non-owner authenticated callers get 403.

## Path parameters

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

## Query parameters

- `raw` boolean: Return raw binary file content instead of JSON wrapper
- `download` boolean: Set Content-Disposition to attachment for download

## Response `200`

Successful Response

- unknown

## 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)
