Is there and API to list clients connected to a Public hostname of a tunnel?

I’m trying to find a way to get information about connected clients to a specific public hostname on a cloudflare tunnel. I could not find any API endpoint that would provide such info but maybe I’m not serching well enough.

Why clients to you mean tunnels that are serving a public hostname or end users who are connecting to a tunnel?

I mean end users connecting to tunnels. For tunnels I could find it as “Tunnel connections”.

There isn’t because they are treated as an origin service. If you have access applications in front of the public hostnames, then you can use the zero trust logs to see the users.
Otherwise, you will have to use the GraphQL API to pull web analytics and filter by the hosts of the tunnels.

OK, many thanks for your help!

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