Get a list of agent configurations
Headers
-
The version of the API to use
Value is
2023-10-31
. Default value is2023-10-31
.
GET /api/apm/settings/agent-configuration
curl \
-X GET https://localhost:5601/api/apm/settings/agent-configuration \
-H "elastic-api-version: 2023-10-31"
Response examples (200)
{
"configurations": [
{
"@timestamp": 1730194190636,
"agent_name": "string",
"applied_by_agent": true,
"etag": "0bc3b5ebf18fba8163fe4c96f491e3767a358f85",
"service": {
"environment": "prod",
"name": "node"
},
"settings": {
"additionalProperty1": "string",
"additionalProperty2": "string"
}
}
]
}
Response examples (400)
{
"error": "Not Found",
"message": "Not Found",
"statusCode": 400
}
Response examples (401)
{
"error": "Unauthorized",
"message": "string",
"statusCode": 401
}
Response examples (404)
{
"error": "Not Found",
"message": "Not Found",
"statusCode": 404
}