Fetch a sandbox file
GET /v1/sandbox/files/:name — Read an output file relative to the agent data directory. Allowed paths start with `files/`, `images/`, `videos/`, `audi
GET /v1/sandbox/files/:name
Read an output file relative to the agent data directory. Allowed paths start with files/, images/, videos/, audio/, screenshots/, code/, artifacts/, reports/ (legacy), or sandbox/files/ (legacy). Other paths, symbolic links, and hard links return 403. Paths cannot escape the data directory. Registered media files require the owning conversation's session_id query parameter; requests without access return 403. Responses are private and are not cached.
| Method | GET |
| Path | /v1/sandbox/files/:name |
| Auth | Authorization: Bearer <token> required by default (configured or generated token); optional only in explicit loopback development mode (MINARA_ALLOW_INSECURE_BIND=1, with GATEWAY_AUTH_TOKEN unset) |
| Category | files |
Notes
A full file response returns 200 and Content-Length. A valid single Range returns 206 with Content-Range and the selected Content-Length. An invalid or unsatisfiable range returns 416 with Content-Range: bytes */SIZE. HEAD returns the corresponding headers without a body. Registered artifact aliases return 308 with their artifact file URL in Location.