Skip to main content
GET
/
agent
/
v1
/
chat
/
{id}
/
files
/
{filePath}
Download session file
curl --request GET \
  --url https://api.case.dev/agent/v1/chat/{id}/files/{filePath} \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Chat session ID

filePath
string
required

File path relative to /workspace (e.g. "report.docx")

Response

File contents

The response is of type file.