Which are the valid values for the field filter[metrics] in analytics query resource

Hi,

I’m trying to get result from de API of Kaltura through the follow resource:

https://www.kaltura.com/api_v3/service/analytics/action/query

and always get the same result:

{
    "code": "REPORTS_QUERY_FAILURE",
    "message": "Failed to retrieve analytics data",
    "objectType": "KalturaAPIException",
    "args": {
        "ERROR_MSG": "N/A"
    }
}

My Question is: Which are the valid values for the field filter[metrics]?

Because I’m trying to execute de the analythics.query resource but seems that the field filter[metrics] must have always a value but in all the documentation does not specify which are the valid values for it.

Thank you for your assistance in this matter,

Regards

Hi @Liendo,

The analytics service was discontinued. To get analytics data, please use the report service.
You can learn more about how to use it by following this tutorial:
https://developer.kaltura.com/workflows/Review_Media_Analytics/Analytics_Reports

Hi Jess,

Thank you for your anwer,

Could you help me to find information about the reports types and headers descriptions.

I need to know exactly what the headers means, because in the online documentation is not specified.

Example: the reportType USER_ENGAGEMENT does not specify whether the user is internal(publisher) or external(client), and also the headers are a bit confusing.

Example
USER_ENGAGEMENT
name,unique_videos,count_plays,sum_time_viewed,avg_time_viewed,avg_view_drop_off,count_loads,load_play_ratio

USER_USAGE
kuser_id,name,added_entries,deleted_entries,total_entries,added_storage_mb,deleted_storage_mb,total_storage_mb,added_msecs,deleted_msecs,total_msecs

Thank you very much.