---
title: "Get a list of agent configurations"
method: GET
path: "/api/apm/settings/agent-configuration"
tags: ["APM agent configuration"]
---

# Get a list of agent configurations

`GET /api/apm/settings/agent-configuration`

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/apm/settings/agent-configuration</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Retrieve all agent configurations. You must have `read` privileges for the APM and User Experience feature in Kibana. If agent configuration is not available on the current deployment, the API returns a 404.

## Headers

- `elastic-api-version` '2023-10-31', required

## Response `200`

Successful response

- APMUIAgentConfigurationsResponse
  - `configurations` APMUIAgentConfigurationObject[] — Agent configuration
    - `@timestamp` number, required — Timestamp
    - `agent_name` string — Agent name
    - `applied_by_agent` boolean — Applied by agent
    - `etag` string, required — `etag` is sent by the APM agent to indicate the `etag` of the last successfully applied configuration. If the `etag` matches an existing configuration its `applied_by_agent` property will be set to `true`. Every time a configuration is edited `applied_by_agent` is reset to `false`.
    - `service` APMUIServiceObject, required — Service
      - `environment` string — The environment of the service.
      - `name` string — The name of the service.
    - `settings` APMUISettingsObject, required — Agent configuration settings

## Other responses

- `400` — Bad Request response
- `401` — Unauthorized response
- `404` — Not found response

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
