v1
files
Upload file to cloud storage
Upload a file to cloud storage and return a storage key that can be used with FileStoreBlock and AgentFileInputBlock.
Args: file: The file to upload user_id: The user ID expiration_hours: Hours until file expires (1-48)
Returns: Dict containing the cloud storage path and signed URL
post/api/files/upload
Request
- The document declares no server URL.
- AuthHTTP bearer
Query parameters
expiration_hoursinteger
Request body multipart/form-data
Response
Successful Response
Changes
No recorded changes to this operation across all 246 revisions of this API.