Upload a file and ensure the parent directories exist. If the file exists, it will be overwritten.
Documentation Index
Fetch the complete documentation index at: https://e2b-mintlify-d2daa4bf.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Sandbox access token (envdAccessToken) for authenticating requests to a running sandbox. Returned by: POST /sandboxes (on create), POST /sandboxes/{sandboxID}/connect (on connect), POST /sandboxes/{sandboxID}/resume (on resume), and GET /sandboxes/{sandboxID} (for running or paused sandboxes).
Query Parameters
Path to the file, URL encoded. Can be relative to the user's home directory (e.g. "file.txt" resolves to ~/file.txt).
User for setting file ownership and resolving relative paths. Defaults to the sandbox's default user.
Signature used for file access permission verification.
Unix timestamp (seconds) after which the signature expires. Only used with the signature parameter.