Skip to main content
GET
Read Workspace File

Headers

x-user-id
string | null

Query Parameters

agent_id
string
required
session_id
string
required
path
string
required

Absolute path, or one relative to the workspace root.

download
boolean
default:false

Force a Content-Disposition attachment.

token
string | null

A token from POST /workspace/files/download-token, accepted in place of the X-User-ID header so a browser navigation can download the file directly.

Response

Successful Response