---
title: "Read Run File"
method: GET
path: "/api/agent-chat/playground/runs/{run_id}/files/{file_path}"
tags: ["Agent Chat Playground"]
---

# Read Run File

`GET /api/agent-chat/playground/runs/{run_id}/files/{file_path}`

Read one file from the workdir.

Returns an ArtifactApiResponse-shaped payload so the existing
ArtifactViewer can render it directly (table for parquet, markdown for
.md). Pagination args mirror ``/playground/artifacts/{short_id}`` —
same caps, same semantics — so the FilesPanel wiring is symmetric
between files and persisted artifacts. 415 for unsupported
extensions; 404 for missing files; 400 for path-traversal attempts.

## Path parameters

- `run_id` string, required
- `file_path` string, required

## Query parameters

- `offset` integer, nullable
- `limit` integer, nullable

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
