Downloads a file from the Daytona runtime workspace by path. Stopped or archived runtimes are transparently resumed or recovered.
cURL
curl --request GET \ --url https://api.case.dev/agent/v2/chat/{id}/files/{filePath} \ --header 'Authorization: Bearer <token>'
"<string>"
API key starting with sk_case_
sk_case_
Chat session ID
File path relative to /workspace (e.g. "report.docx")
File contents
The response is of type file.
file
Was this page helpful?
Contact support