Top URLs

GET https://{{base_url}}/analytics/v2/url?orgUid={{orgUid}}&from=2024-01-31&duration=day&to=2024-03-31&services=["cdn","cma"]

The Top URLs request gets you the number of requests made from your URLs for the given services.

To use the API request, you will need to authenticate yourself either with an Authtoken. 
Read more about it in Authentication.


For more information, refer to the Top URLs API Reference document

Request Params

KeyDatatypeRequiredDescription
orgUidstringEnter the UID of your Organization.
fromstringSpecify the start date for the required data. Use the following date format: YYYY-MM-DD.
durationstringEnter a value like day, week, or month. This parameter determines the granularity of the data you want to fetch.
tostringEnter the current date or any date after the from date. The date format should be: YYYY-MM-DD.
servicesstringSpecify the array of services for which you want statistics, such as: ["cma", "ui", "cdn", "graphql", "images", "assets", "automations", "launch"].
apiKeystringEnter the API key of the stack.
limitnumberSpecify the number of items you wish to fetch per request. The maximum limit is 900.
skipnumberEnter the number of items to skip. For example, a skip value of 10 will skip the first 10 items.
orderBynumberEnter 1 to sort the SDK response in ascending order, or -1 to sort it in descending order.

HEADERS

KeyDatatypeRequiredDescription
authtokenstringEnter your authtoken .
Content-Typestring