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 provider: Cloud storage provider ("gcs", "s3", "azure") expiration_hours: Hours until file expires (1-48)
Returns: Dict containing the cloud storage path and signed URL
post/api/files/upload
Query parameters
expiration_hoursinteger
Response
Successful Response