text: Title: [APM] Endpoints without API tests
  Body: ## How to run API tests
  
  The tests are separated in two suites by license: "trial" (similar to Gold+ license) and "basic". To run the tests you must start the server first, and then run the test runner.
  
  **Basic**
  
  ```
  # Start server
  node scripts/functional_tests_server --config x-pack/test/apm_api_integration/basic/config.ts
  
  # Run tests
  node scripts/functional_test_runner --config x-pack/test/apm_api_integration/basic/config.ts
  ```
  
  The API tests tests for "basic" are located in [x-pack/test/apm_api_integration/basic/tests](https://github.com/elastic/kibana/tree/master/x-pack/test/apm_api_integration/basic/tests).
  
  **Trial**
  
  ```
  # Start server
  node scripts/functional_tests_server --config x-pack/test/apm_api_integration/trial/config.ts
  
  # Run tests
  node scripts/functional_test_runner --config x-pack/test/apm_api_integration/trial/config.ts
  ```
  
  The API tests tests for "trial" are located in [x-pack/test/apm_api_integration/trial/tests](https://github.com/elastic/kibana/tree/master/x-pack/test/apm_api_integration/trial/tests).
  
  For debugging access Elasticsearch on http://localhost:9220` (elastic/changeme)
  
  ## Endpoints in need for tests
  
  **Services overview page `/app/apm#/services`:**
   - [x] `/api/apm/services` 
  
  **Transactions overview page `/app/apm#/services/{service.name}/transactions`:**
   - [x] `/api/apm/services/{service.name}/agent_name`
   - [x] `/api/apm/services/{service.name}/transaction_groups/charts`
   - [x] `/api/apm/services/{service.name}/transaction_groups`
   - [x] `/api/apm/services/{service.name}/transaction_types`
   - [x] `/api/apm/services/{service.name}/annotation/search`
   - [x] `/api/apm/services/{service.name}/transaction_groups/breakdown` 
   - [ ] `/api/apm/services/{service.name}/node/{serviceNodeName}/metadata`
   - [x] `/api/apm/services/{serviceName}/transaction_groups/error_rate`
   - [x] `/api/apm/services/{serviceName}/transaction_groups/avg_duration_by_browser`
  
  **Transactions details page `/app/apm#/services/{service.name}/transactions/{transaction.name}`:**
  tbd
  
  **Traces overview page (`app/apm#/traces`)**
   - [x] `/api/apm/traces` 
   - [ ] `/api/apm/traces/{traceId}`
  
  **Transaction**
   - [ ] `/api/apm/transaction/{traceId}`
  
  **Errors overview page (`/app/apm#/services/{service.name}/errors`)**
   - [ ] `/api/apm/services/{service.name}/errors/distribution`
   - [ ] `/api/apm/services/{service.name}/errors`
  
  **Errors details page (`/app/apm#/services/{service.name}/errors/{error.id}`)**
   - [ ] `/api/apm/services/{service.name}/errors/{error.id}`
   - [ ] `/api/apm/services/{service.name}/errors/rate?groupId={error.id}`
   - [ ] `/api/apm/services/{service.name}/errors/distribution?groupId={error.id}`
  
  **Security**
   - [ ] `/api/apm/security/indices_privileges`
  
  **Metrics page (`/app/apm#/services/{service.name}/metrics`)**
   - [ ] `/api/apm/services/{service.name}/metrics/charts`
  
  **APM Indicies**
   - [ ] `/api/apm/settings/apm-index-settings`
  
  **Custom links**
   - [ ] `/api/apm/settings/custom_links/transaction`
  
  **Anomaly detection**
   - [x] `/api/apm/settings/anomaly-detection`
   - [x] `/api/apm/settings/anomaly-detection/jobs`
   - [ ] `/api/apm/settings/anomaly-detection/environments`
  
  **Service Map**
   - [x] `/api/apm/service-map`
   - [ ] `/api/apm/service-map/service/{serviceName}`
  
  **Service nodes**
   - [ ] `/api/apm/services/{serviceName}/serviceNodes`
  
  **UI Filters**
   - [ ] `/api/apm/ui_filters/environments`
   - [ ] `/api/apm/ui_filters/local_filters/metrics`
   - [ ] `/api/apm/ui_filters/local_filters/errorGroups`
   - [ ] `/api/apm/ui_filters/local_filters/traces`
   - [ ] `/api/apm/ui_filters/local_filters/services`
  
  **index pattern**
   - [ ] `/api/apm/index_pattern/static`
   - [ ] `/api/apm/index_pattern/dynamic`
   - [ ] `/api/apm/index_pattern/title`
  
  **Observability dashboard**
  - [x] `/api/apm/observability_dashboard/has_data`
  - [x] `/api/apm/observability_dashboard`