API

david_n_m_bond
Building a reputation

API

I'm looking to determine what applications are putting what load on the Meraki API for a given organization.

 

I would like to execute a query like this:

 

{{meraki_url}}/organizations/{{meraki_organization_id}}/apiRequests/overview/responseCodes/byInterval?userAgent=XXX

 

...but

  1. don't know how to format the XXX; and
  2. even if I did, where can I find a list of valid User Agent strings?

 

Your help gratefully appreciated - thanks in advance!

Author, https://www.nuget.org/packages/Meraki.Api/
2 Replies 2
MartinS
Building a reputation

Hi David,

 

I don't think it would be possible to get an exhaustive list of User Agent strings as they can be whatever the developer wants them to be, but you might be able to get a list of the 'big ones' from the Meraki Ecosystem team. Let me know if you want some introductions to that team. Meanwhile though, the Highlight string this month is "Highlight/24.11 HighlightSLM" with the first string being the <app name>/<version> and the second being company name (this is the format the Ecosystem team asked us to follow).

 

Also take a look at getOrganizationApiRequests as that includes the user agent string being used, which you could then use to filter getOrganizationApiRequestsOverviewResponseCodesByInterval

 

M.

---
COO
Highlight - Service Observability Platform
www.highlight.net
david_n_m_bond
Building a reputation

Thanks - the getOrganizationApiRequests will help.  I will then experiment with what I need to send as the filter string.

Author, https://www.nuget.org/packages/Meraki.Api/
Get notified when there are additional replies to this discussion.