Returns the most recent version of the Real User Monitoring JavaScript available for your environment.
The version is a natural number, a higher number indicates a newer version. You can check the version you actually use by executing the GET the current version of the Real User Monitoring JavaScript request.
If a newer version is available, we recommend that you update the RUM JavaScript in your applications. You can get the most recent RUM JavaScript in different snippet formats, see RUM manual insertion tags API for details.
The request produces a text/plain payload.
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/rum/jsLatestVersion |
| Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/rum/jsLatestVersion |
To execute this request, you need an access token with RumJavaScriptTagManagement scope.
To learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
The response is a plain text, showing the most recent RUM JavaScript version.
In this example, the request inquires the latest version of the RUM JavaScript, available for the environment.
The API token is passed in the Authorization header.
The most recent RUM JavaScript is 10156181011154332.
curl -X GET \https://mySampleEnv.live.dynatrace.com/api/v1/rum/jsLatestVersion \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/v1/rum/jsLatestVersion
10156181011154332
200