Skip to main content
GET
/
v1
/
instances
/
{instance_id}
/
files
/
download
curl -X GET "https://api.chowder.dev/v1/instances/ins_abc123/files/download?path=assets/logo.png" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -O -J
Binary file content with headers:
Content-Disposition: attachment; filename="logo.png"
Content-Type: image/png
Downloads a file from the instance. The response is the raw binary file content with appropriate Content-Disposition and Content-Type headers set, so it works naturally with browsers and tools like curl -O.

Authentication

Requires an org-level API key or a scoped token with the appropriate permission.

Path Parameters

instance_id
string
required
The ID of the instance.

Query Parameters

path
string
required
The file path to download, relative to the instance root.

Response

Returns the raw binary file content with a Content-Disposition: attachment header.
curl -X GET "https://api.chowder.dev/v1/instances/ins_abc123/files/download?path=assets/logo.png" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -O -J
Binary file content with headers:
Content-Disposition: attachment; filename="logo.png"
Content-Type: image/png