Mistake on this page? Email us

Campaign metrics with the APIs

When a campaign is in the active, stopped, or archived phase, you can do the following to view campaign metrics:

curl -H "Authorization: Bearer <API-KEY>" \
<host>/v3/update-campaigns/<campaign-ID>/metrics

You get the following information:

{
     "created_at":"<timestamp>",
     "success_count":0,
     "failed_count":0,
     "pending_count":1,
     "total_count":1
}

This tells you how many devices updated successfully, how many failed to update, how many are still pending, and how many total devices are or were in your campaign.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.