admin:group-get-telemetry-session-endpoint( $config as element(configuration), $group-id as xs:unsigned-long ) as xs:string
This function returns the initial default telemetry endpoint.
http://marklogic.com/xdmp/privileges/admin/group
http://marklogic.com/xdmp/privileges/admin/group/{id}
xquery version "1.0-ml"; import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; let $config := admin:get-configuration(), $endpoint := admin:group-get-telemetry-session-endpoint($config, xdmp:group()) return $endpoint ==> "https://telemetry.services.marklogic.com/v1/session"