Sandboxes
Read a file
The raw bytes of one file, streamed. Files over 100 MiB answer 422; read them in parts with a command. Requires files. Commands and file operations need an ACTIVE sandbox; on any other state they answer 409.
Bearer token for the authenticated caller.
akua-contextstring
Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.
Required string length: 1 - 53
Example: "ws_j572abc123def4"
Sandbox id (sbx_...).
Pattern: ^sbx_[A-Za-z0-9]{1,64}$
Example: "sbx_j572abc123def456"
Body
application/json
Absolute path inside the sandbox.
Required string length: 1 - 4096
Pattern: ^\/[^\0]*$
Example: "/workspace/README.md"
Response
application/octet-stream
Success
Type: string<binary>