curl -X POST https://api.buntime.sh/files/write \ -H "Authorization: Bearer $BUNTIME_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "sessionId": "ses_abc123", "path": "hello.ts", "content": "console.log(\"Hello World!\");" }'
{ "path": "hello.ts", "size": 29 }
Create or update a file in a session