Can I get path/views from Analytics API?

Is it possible to get request paths and their corresponding counts from the current API?

Result I’m looking for:

Date       | Pageviews | Path
-------------------------------
2022-06-01 | 123       | /
2022-06-01 | 56        | /page1
2022-06-01 | 12        | /page2

Current documentation is slightly confusing to me. Would it require installing the JavaScript beacon on my website? I’m only interested in backend requests.

If this is not possible - are there any plans to introduce such functionality in the near future?

This would be exposed by the GraphQL API - particularly the httpRequestsAdaptiveGroups dataset I believe.

https://developers.cloudflare.com/analytics/graphql-api/

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.