02-13-2025 02:48 AM
iam working on PS script and would like to pull the Network status using API.
I tried many ways but still no luck . i used below API -
/organizations/{organizationId}/devices/statuses/overview
GET /networks/{networkId}/devices GET /networks/{networkId}/devices?online=false
GET /devices/{serial}/wireless/healthScores?uptime=week
can anyone please help me exporting this data via API GET
02-13-2025 04:15 AM
Could you explain a bit more what you're trying to do please? Exactly what statuses are you looking to get?
02-13-2025 04:20 AM
iam trying to pull the Network status - if its online, offline , alerting , this status is not getting pulled by API ..i need some help to get the correct API
02-13-2025 04:39 AM
I think I would start with Get Organization Devices Availabilities - Meraki Dashboard API v1 - Cisco Meraki Developer Hub
For alert statuses Get Organization Assurance Alert - Meraki Dashboard API v1 - Cisco Meraki Developer Hub
02-13-2025 04:54 AM
sure ..let me try this..Thank you for the information
02-13-2025 05:27 AM
i tried still l not retrieving correct status, also i see in the API documentation its been Deprecated
02-13-2025 05:41 AM
Hi, yes that call is deprecated - you need to use the Get Organization Devices Availabilities call
What errors or output are you getting?
02-13-2025 05:46 AM
iam not getting any error , the Device status pulled in not correct as per my tenant ...i have almost 100+ networks online ,however the script is showing as Offline and unknown
for MX68 AND MR28
02-13-2025 06:09 AM
Sorry it's hard to know what's going on without seeing more detail. If you'd like, I'm happy to put your org into our service observability app and we can see from that what the API is reporting as up or down?
https://marketplace.cisco.com/en-US/listing?q=Highlight&locale=en-US
02-24-2025 12:17 PM
I am also trying to figure out a way to pull this myself. It seems like there is no simple API call that does that according to the API documentation...
02-24-2025 12:26 PM
Have you tried Martin's suggestion to use the Get Organization Devices Availabilities call?
03-05-2025 10:43 AM
I would like to do this, as well: Have a script check for any networks that are offline (and send me the report). Have you gotten the solution? Can anyone else advise?
I check the dashboard once every morning for down networks. I would prefer an automated script to run and send me a report of down networks once per morning.
Thanks a bunch.
KH
03-05-2025 12:50 PM
I got it. ChatGPT helped me figure it out.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide