# Issues with Elastic APM "/internal/apm/services" Endpoint Versions and Parameter Changes

**URL:** <https://discuss.elastic.co/t/issues-with-elastic-apm-internal-apm-services-endpoint-versions-and-parameter-changes/372255>\
**Category:** Elastic Observability\
**Created:** [December 20, 2024, 6:57am UTC](https://discuss.elastic.co/t/issues-with-elastic-apm-internal-apm-services-endpoint-versions-and-parameter-changes/372255 "2024-12-20T06:57:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omer\_Karabas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/omer_karabas/32/140211_2.png) [@Omer\_Karabas](https://discuss.elastic.co/u/Omer_Karabas)\
**Post date:** [December 20, 2024, 6:57am UTC](https://discuss.elastic.co/t/issues-with-elastic-apm-internal-apm-services-endpoint-versions-and-parameter-changes/372255/1 "2024-12-20T06:57:23Z")

</div>

Hello,

APPLICATION\_LIST\_V7\_URL = ""/internal/apm/services?environment=ENVIRONMENT\_ALL&kuery=&start={startDate}&end={endDate}"

APPLICATION\_LIST\_V8\_URL =/internal/apm/services?environment=ENVIRONMENT\_ALL&kuery=&start={startDate}&end={endDate}&probability=1.0&documentType=serviceTransactionMetric&rollupInterval=1m"

I am currently using the Elastic APM `/internal/apm/services` endpoint to retrieve a list of services. However, I am encountering several issues due to version differences (e.g., `APPLICATION_LIST_V7` and `APPLICATION_LIST_V8`):

1. **Response Differences:**

- The data format and fields returned by the endpoint vary between versions.
- Fields expected in older versions may be missing or have a different structure in newer versions.

1. **Parameter Changes:**

- Newer versions require additional parameters (e.g., `probability`, `documentType`, `rollupInterval`), which are either not needed or not compatible with older versions.

These issues are causing compatibility problems on the client side and complicating the process of retrieving consistent data.

**My goal:** I am looking for a solution that eliminates these version-based inconsistencies. Specifically, I would like to know:

- is there an alternative or recommended endpoint to reliably fetch the list of applications across versions? Also I wouldn't like to performance problem.
- What is Elastic's recommended approach to address such issues?

If there are any relevant documents or examples, I would greatly appreciate it if you could share them.

Thank you!
