Agent Chat Playground
Read Run File
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.
get/api/agent-chat/playground/runs/{run_id}/files/{file_path}
Path parameters
run_idstring required
file_pathstring required
Query parameters
offsetinteger nullable
limitinteger nullable
Cookies
ex_accessstring nullable
ex_orgstring nullable
Response
Successful Response
{"stackTrail":"paths:/api/agent-chat/playground/runs/{run_id}/files/{file_path}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.