Get environments for service
- Base URL
-
https://{kibana_url}
- GET /api/apm/settings/agent-configuration/environments
- GET /s/{space_id}/api/apm/settings/agent-configuration/environments
https://{kibana_url}
Retrieve the available environments for a given service, to be used in agent configuration. You must have read privileges for the APM and User Experience feature in Kibana. If serviceName is omitted, environments across all services are returned.
space_id
string
optional
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
Successful response
Bad Request response
Unauthorized response
https://{kibana_url}