📊

List Services

Verified

@elastic/list-services

List all APM-monitored services with their health status

Usage

RUN SKILL list_services()

With parameters:

RUN SKILL list_services WITH environment = 'value'

Parameters

NameTypeDefaultDescription
environmentSTRINGFilter by environment

Returns

ARRAY— An array of matching documents

Example

-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
  -H "Content-Type: application/json" \
  -d '{"query": "RUN SKILL list_services()"}'

-- Response
{
  "result": [...],
  "_meta": {
    "execution_id": "abc123",
    "duration_ms": 45
  }
}