Not getting damage-taken results

Hello, I am having some trouble getting results with the API. In this instance I am trying to get details for raid damage taken on a specific ability. When I use the tables view on the web interface I get data but this is not working:$($apiKey)