Try it free

Get public location status

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026
  • Early Access

Retrieve public synthetic location status in Dynatrace with the Synthetic API and see whether public locations are enabled.

GETSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/synthetic/v1/locations/status

Overview

You use the locations status endpoint to check the status of public synthetic locations. The response returns the current public locations status.

Authentication

To execute this request, you need a platform token or OAuth access token with synthetic:locations:read scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

The request doesn't provide any configurable parameters.

Response

Response codes

CodeTypeDescription
200SyntheticPublicLocationsStatusDto

Success. The response contains the public locations status.

4XXErrorResponseEnvelope

Client side error.

5XXErrorResponseEnvelope

Server side error.

Response body objects

The SyntheticPublicLocationsStatusDto object

The status of public synthetic locations.

ElementTypeDescription
enabledboolean

Synthetic monitors can (true) or can't (false) run on public synthetic locations.

The ErrorResponseEnvelope object

Encloses the encountered error.

ElementTypeDescription
errorErrorResponse

Basic information of the encountered error.

The ErrorResponse object

Basic information of the encountered error.

ElementTypeDescription
codeinteger

The returned HTTP status code.

detailsErrorResponseDetails

Detailed information of the error.

messagestring

Description of the encountered error.

The ErrorResponseDetails object

Detailed information of the error.

ElementTypeDescription
typestring

Defines the actual set of fields depending on the value. See one of the following objects:

  • constraintViolation -> ConstraintViolationDetails
The element can hold these values
  • constraintViolation

Response body JSON models

{
"enabled": true
}
{
"error": {
"code": 1,
"details": {
"type": "constraintViolation"
},
"message": "string"
}
}
Related tags
Platform APIDynatrace PlatformDigital Experience