sandboxes

Upload a sandbox file

Changed on

Upload a file to a sandbox filesystem path.

post/api/v2/sandboxes/{sandbox_id}/upload

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v2/sandboxes/{sandbox_id}/upload
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

sandbox_idstring required

Sandbox ID or name

Query parameters

pathstring required

Destination file path

Request body multipart/form-data

filestring binary required

File to upload

Response

OK

pathstring
writteninteger

Changes