Skip to content
Get started

Retrieve a worker file

$ handinger workers retrieve-file
GET/api/workers/{workerId}/files/{filePath}

Retrieve a file published from a worker workspace. The runtime route accepts nested paths after /files/.

ParametersExpand Collapse
--worker-id: string

Worker id returned by the create worker endpoint.

--file-path: string

Workspace file path after /files. URL-encode slashes for nested paths.

ReturnsExpand Collapse
unnamed_schema_0: file path

Retrieve a worker file

handinger workers retrieve-file \
  --api-key 'My API Key' \
  --worker-id t_org_123_w_01HZY2ZJQ8G7K42W2D7WF6V4GM \
  --file-path scratchpad/plan.md
Returns Examples