Share one request, decode, and error path across the client, public endpoints, and export download; align types with the Backend contract and split types_api.go. Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
Claude-Session: https://claude.ai/code/session_01QoUjdc7HGKTsgj5GhG8HvF