deb2e8b751e7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-106771,7565.2 MB
synthetics

Create a private location

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/synthetics/private_locations</span></div>

Refer to Spaces for more information.

You must have all privileges for the Synthetics and Uptime feature in the Observability section of the Kibana feature privileges.

post/api/synthetics/private_locations

Request body

agentPolicyIdstring required

The ID of the agent policy associated with the private location.

labelstring required

A label for the private location.

spacesstring[]

An array of space IDs where the private location is available. If it is not provided, the private location is available in all spaces.

tagsstring[]

An array of tags to categorize the private location.

Response

A successful response.

object required