admin.groupGetTelemetrySessionEndpoint( config as element(configuration), group-id as xs.unsignedLong ) as String
This function returns the initial default telemetry endpoint.
http://marklogic.com/xdmp/privileges/admin/group
http://marklogic.com/xdmp/privileges/admin/group/{id}
const admin = require('/MarkLogic/admin.xqy'); const config = admin.getConfiguration(), endpoint = admin.groupGetTelemetrySessionEndpoint(config, xdmp.group()) return endpoint ==> "https://telemetry.services.marklogic.com/v1/session"