v3
Drive
Get a signed URL for uploading a file to Definite Drive (API)
Generate a signed URL for directly uploading a file to Definite Drive (GCS).
Authenticate with your API key in the Authorization header:
`Authorization: Bearer <your-api-key>`
The file will be accessible in E2B sandboxes at `/home/user/drive/{path}`
via the gcsfuse mount. Files persist across sessions and are shared with all
team members.
**Example:**
```
POST /v3/drive/upload-url
Authorization: Bearer def-xxxx-your-api-key
Content-Type: application/json
{"path": "data/reports/q4-2024.csv"}
```
post/v3/drive/upload-url
Request body
Response
Signed URL generated successfully
Changes
No recorded changes to this endpoint across all 1 revision of this API.