How to get analytics data of apis?

Hi Olu,
kindly consider the following image, when the analytics endpoint is called with a key_hash we don’t get api_id or info related to API.
and wherein the example response we have seen receiving the api_id and data associated to individual API.
is there any variable we need to define in api_definition or do we need to update anything in the call?