APM agent configuration
Get single agent configuration
Spaces method and path for this operation:
<div><span class="operation-verb get">get</span> <span class="operation-path">/s/{space_id}/api/apm/settings/agent-configuration/view</span></div>Refer to Spaces for more information.
Retrieve a single agent configuration matching the given service name and environment. You must have read privileges for the APM and User Experience feature in Kibana. If no matching configuration is found, the API returns a 404.
get/api/apm/settings/agent-configuration/view
Query parameters
namestring
Service name
environmentstring
Service environment
Headers
elastic-api-version'2023-10-31' required
The version of the API to use
Response
Successful response
Example response
{
"@timestamp": 1730194190636,
"applied_by_agent": true,
"etag": "0bc3b5ebf18fba8163fe4c96f491e3767a358f85",
"service": {
"environment": "prod",
"name": "node"
}
}