Try it free

Create a private synthetic location

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

Create a private synthetic location in Dynatrace with the Synthetic API, using location details such as city, country, coordinates, and execution support.

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

Overview

You use the locations endpoint to create a new private synthetic location. The request body can include fields such as autoUpdateChromium, city, countryCode, countryName, deploymentType, geoLocationId, latitude, longitude, and browserExecutionSupported, and the response returns the new location ID.

Authentication

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

Parameters

ParameterTypeDescriptionInRequired
bodySyntheticPrivateLocationDto

The JSON body of the request. Contains parameters of the new private synthetic location.

bodyRequired

Request body objects

The SyntheticPrivateLocationDto object

Configuration of a private synthetic location.

countryCode, regionCode, city parameters are optional as they can be retrieved based on latitude and longitude of location.

ElementTypeDescriptionRequired
autoUpdateChromiumboolean

Non-containerized location property. Auto upgrade of Chromium is enabled (true) or disabled (false).

Optional
availabilityLocationOutageboolean

Alerting for location outage is enabled (true) or disabled (false). Supported only for private Synthetic locations.

Optional
availabilityNodeOutageboolean

Alerting for node outage is enabled (true) or disabled (false). \n\n If enabled, the outage of any node in the location triggers an alert. Supported only for private Synthetic locations.

Optional
availabilityNotificationsEnabledboolean

Notifications for location and node outage are enabled (true) or disabled (false). Supported only for private Synthetic locations.

Optional
browserExecutionSupportedboolean

Containerized location property. Boolean value describes if browser monitors will be executed on this location:

  • false: Browser monitor executions disabled.
  • true: Browser monitor executions enabled.
Optional
citystring

The city of the location.

Optional
countryCodestring

The country code of the location.

To fetch the list of available country codes, use the GET all countries request.

Optional
countryNamestring

The country name of the location.

Optional
deploymentTypestring

The deployment type of the location:

  • STANDARD: The location is deployed on Windows or Linux.
  • KUBERNETES: The location is deployed on Kubernetes.
The element can hold these values
  • KUBERNETES
  • OPENSHIFT
  • STANDARD
  • UNKNOWN
Optional
fipsModestring

Containerized location property indicating whether FIPS mode is enabled on this location:

  • DISABLED: FIPS is not enabled on the location.
  • ENABLED: FIPS is enabled on the location.
  • ENABLED_WITH_CORPORATE_PROXY: FIPS with corporate proxy is enabled on this location. Default: DISABLED
The element can hold these values
  • DISABLED
  • ENABLED
  • ENABLED_WITH_CORPORATE_PROXY
Optional
geoLocationIdstring

The Dynatrace GeoLocation ID.

Optional
idstring

The Dynatrace Location ID.

Optional
latitudenumber

The latitude of the location in DDD.dddd format.

Required
locationNodeOutageDelayInMinutesinteger

Alert if location or node outage lasts longer than X minutes. \n\n Only applicable when availabilityLocationOutage or availabilityNodeOutage is set to true. Supported only for private Synthetic locations.

Optional
longitudenumber

The longitude of the location in DDD.dddd format.

Required
maxActiveGateCountinteger

Containerized location property. The maximum number of ActiveGates deployed for the location (required for a Kubernetes location).

Optional
minActiveGateCountinteger

Containerized location property. The minimum number of ActiveGates deployed for the location (required for a Kubernetes location).

Optional
namExecutionSupportedboolean

Containerized location property. Boolean value describes if icmp monitors will be executed on this location:

  • false: Icmp monitor executions disabled.
  • true: Icmp monitor executions enabled.
Optional
namestring

The name of the location.

Required
nodeNamesobject

A mapping id to name of the nodes belonging to the location.

Optional
nodeSizestring

Containerized location property. The size of a containerized node deployed for the location (required for a Kubernetes location). Accepted values:

  • XS: extra small
  • S: small
  • M: medium The node size L is not supported in containerized locations.
The element can hold these values
  • M
  • S
  • UNSUPPORTED
  • XS
Optional
nodesstring[]

A list of synthetic nodes belonging to the location.

You can retrieve the list of available nodes with the GET all nodes call.

Optional
regionCodestring

The region code of the location.

To fetch the list of available region codes, use the GET regions of the country request.

Optional
regionNamestring

The region name of the location.

Optional
statusstring

The status of the location:

  • ENABLED: The location is displayed as active in the UI. You can assign monitors to the location.
  • DISABLED: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location.
  • HIDDEN: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as HIDDEN when no monitor is assigned to it.
The element can hold these values
  • DISABLED
  • ENABLED
  • HIDDEN
Optional
typestring-
The element can hold these values
  • CLUSTER
  • PRIVATE
  • PUBLIC
Required
useNewKubernetesVersionboolean

Containerized location property. Boolean value describes which kubernetes version will be used:

  • false: Version 1.23+ that is older than 1.26
  • true: Version 1.26+.
Optional

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"autoUpdateChromium": true,
"availabilityLocationNodeOutageDelayInMinutes": 5,
"availabilityLocationOutage": false,
"availabilityNodeOutage": false,
"availabilityNotificationsEnabled": true,
"deploymentType": "STANDARD",
"fipsMode": "DISABLED",
"latitude": 48.306351,
"longitude": 14.287399,
"maxActiveGateCount": 5,
"minActiveGateCount": 2,
"name": "Linz Location",
"nodeSize": "S",
"nodes": [
"93302281"
],
"status": "ENABLED",
"type": "PRIVATE"
}

Response

Response codes

CodeTypeDescription
201SyntheticLocationIdsResponse

Success. The private location has been created. The response contains the ID of the new location.

4XXErrorResponseEnvelope

Client side error.

5XXErrorResponseEnvelope

Server side error.

Response body objects

The SyntheticLocationIdsResponse object

A Response for synthetic Location IDs (Smartscape ID + GeoLocation ID).

ElementTypeDescription
geoLocationIdstring

GeoLocation ID of the synthetic location.

idstring

Smartscape ID of the synthetic location.

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

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