List workspace files
GET /v1/workspace/files — Enumerate every editable workspace md file with size, mtime, and sha256. Files that don't exist on disk show `exists: fa
GET /v1/workspace/files
Enumerate every editable workspace md file with size, mtime, and sha256. Files that don't exist on disk show exists: false. The name set is whitelisted in apps/agent/src/workspace/seed.ts (EDITABLE_WORKSPACE_FILES).
| Method | GET |
| Path | /v1/workspace/files |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | workspace |
Response body
{ "ok": true, "data": { "workspace_dir": "/home/user/.minara/workspace", "files": [{ "name": "SOUL.md", "exists": true, "size": 1982, "mtime": 1714492800000, "sha256": "deadbeef..." }, { "name": "HEARTBEAT.md", "exists": false, "size": 0, "mtime": null, "sha256": null }] } }