Skip to main content
POST
/
v1
/
instances
/
{instance_id}
/
files
/
upload
curl -X POST https://api.chowder.dev/v1/instances/ins_abc123/files/upload \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "path=assets/logo.png" \
  -F "file=@/local/path/to/logo.png"
No Content

Documentation Index

Fetch the complete documentation index at: https://docs.chowder.dev/llms.txt

Use this file to discover all available pages before exploring further.

Uploads a file to the instance using multipart form data. This is the way to go for binary files like images, audio, or anything that isn’t plain text. For text content, you can also use the simpler write endpoint.

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.

Form Parameters

path
string
required
The destination file path on the instance, relative to the instance root.
file
file
required
The file to upload (binary).

Response

Returns 204 No Content on success.
curl -X POST https://api.chowder.dev/v1/instances/ins_abc123/files/upload \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "path=assets/logo.png" \
  -F "file=@/local/path/to/logo.png"
No Content