HF RL Explorer

fix: Add robust type checking for API responses

fix: Add robust type checking for API responses: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: fix: Add robust type checking for API responses

The task

**Title:** fix: Add robust type checking for API responses

Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.