Get Upload URL
Get a presigned URL for direct upload to GCS.
POST
Get Upload URL
This endpoint returns a presigned URL for uploading the entire filesystem archive directly to storage.
Use it when you already have a prepared compressed archive, typically
tar.zst, and want to upload that archive without proxying the bytes through the Terminal Use API.
What This Endpoint Is For
- whole-filesystem upload
- direct-to-storage archive transfer
- flows implemented by
tu fs pushand the Python ADK sync internals
What This Endpoint Is Not For
- uploading one file by relative path
- replacing
uploadFile - a dedicated CLI command
tu fs push.Path Parameters
Body
application/json
Request model for presigned URL generation.
URL expiration time in seconds (default 1 hour, max 7 days).
Required range:
60 <= x <= 604800Response
Successful Response
Response model for presigned URL operations.
When the presigned URL expires.
Instructions for using the presigned URL.
HTTP method to use: 'PUT' for upload, 'GET' for download.
The presigned URL for direct GCS upload/download.
Content-Type header to use (required for PUT uploads).
Get Upload URL