Upload a single file and optionally create a task (backward compatibility)
Args: file: Uploaded file task_type: Type of task (e.g., “general”) message: Optional message to include with the task
Returns: Upload result with file info and optional task ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
The response is of type Response Upload File Api Files Upload Post · object.