Skip to main content
GET
/
v1
/
instances
/
{instance_id}
/
files
/
content
curl -X GET "https://api.chowder.dev/v1/instances/ins_abc123/files/content?path=openclaw.json" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "path": "openclaw.json",
  "content": "{\n  \"channels\": {\n    \"discord\": {\n      \"enabled\": true\n    }\n  }\n}"
}
Returns the text content of a file on the instance. This is meant for text files — if you need to download binary files, use the download endpoint instead.

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 read, relative to the instance root.

Response

path
string
The file path that was read.
content
string
The text content of the file.
curl -X GET "https://api.chowder.dev/v1/instances/ins_abc123/files/content?path=openclaw.json" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "path": "openclaw.json",
  "content": "{\n  \"channels\": {\n    \"discord\": {\n      \"enabled\": true\n    }\n  }\n}"
}