• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

How to Fetch Default Reports in ControlUp with an API Key

Posted on January 25, 2024

A user asked for help with fetching the default report for applications on ControlUp. Another user suggested using an API key and provided a sample API request. The user had already tried inspecting the element and network tabs without success.


Read the entire ‘How to Fetch Default Reports in ControlUp with an API Key’ thread below:

I have pulled custom reports in Powershell by inspecting the tab and using the network tab to get the URL for the report as i was viewing it. That works fine. Now i’d like to fetch the default report for applications. Specifically looking for Chrome by Google. I’ll use this to poke each machine that is behind on the version to update. I cannot seem to fetch the CSV of the default report. Inspecting the element and the network tag aren’t helping me the same way it does with a custom report. How can i get this done in an automated way?


I think you can run automated reports in solve


For like All devices i can fetch those on demand and do whatever i want same with custom reports. That little Export CSV is an awesome way to work in some powershell logic. Then call the CU scripts via API to bridge some of the missing features CU is lacking. Its just the Out of the box default reports i cant seem to get to fetch.


do you have an API key? you can get all the Edge data via API key

What report are you looking for specifically?


yes have API key

the default application installed. filtered down to Google as vendor and Chrome as the App


You can also right click that request > copy as powershell.

Though that’ll copy your user session cookie as well:

the only thing you really need from that "copy as powershell" option is the request URL and the body

same concept but with an API key instead

“`$APIKey = "redacted"

$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession

$session.Headers["content-type"] = "application/json"

$session.Headers["accept"] = "/"

$session.Headers["x-api-key"] = $APIKey

Invoke-restmethod -Uri "https://acmeorg.sip.controlup.com/api/dal/installed_apps" `

-WebSession $session `

-Method "POST" `

-Body "{"device_query":null,"data_query":{"track_scores":true,"size":100,"from":0,"sort":[{"name.keyword":"asc"}],"query":{"bool":{"should":[],"must":[{"bool":{"should":[{"wildcard":{"publisher":"google"}},{"match_phrase_prefix":{"publisher":"Google"}}],"must":[],"must_not":[],"minimum_should_match":1}},{"bool":{"should":[{"wildcard":{"name":"chrome"}},{"match_phrase_prefix":{"name":"Chrome"}}],"must":[],"must_not":[],"minimum_should_match":1}}],"must_not":[]}}}}"“`

make sure to plug in your own API key and update the tenant name

Continue reading and comment on the thread ‘How to Fetch Default Reports in ControlUp with an API Key’.  Not a member? Join Here!


Categories: All Archives, ControlUp for Desktops, ControlUp Scripts & Triggers
Topics: Browsers, ControlUp Solve, Google Chrome, Microsoft, PowerShell, Reporting, Scripts

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2026 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..