Mental model
Think of the session workspace as the durable file surface for a conversation or task. Clients can:- Upload reusable assets before sending a message
- Write files directly into the session workspace
- Browse files by path
- Download file content by path
Why the model is session-first
The platform keeps the file contract simple by exposing:- Session filesystem paths
- File metadata
Typical flow
- Upload a file with
POST /v1/files - Reference it from a message part by
file_id - Let the runtime read or create workspace files
- Browse the resulting workspace with
GET /v1/sessions/{session_id}/files