跳到内容
sigiro
Esc
↑↓导航↵打开⌘J预览

List services

Every service that has reported telemetry, with the first and last timestamp seen for each (UTC text such as 2026-01-01 12:00:00.123). The entry point of an agent loop: pick a service here, then query its telemetry. Returns an error, never a partial list, if the number of services exceeds SIGIRO_MAX_RESULT_ROWS.

GET/v1/services
响应
200

Complete list of services

servicesServiceEntry[]必填
显示属性
ServiceEntry 数组
firstSeenstring | null
lastSeenstring | null
namestring必填
signalsServiceSignals必填
显示属性
logsinteger<int64>必填
metricsinteger<int64>必填
profilesinteger<int64>必填
spansinteger<int64>必填
totalCountinteger<int64>必填
400

Service count exceeds SIGIRO_MAX_RESULT_ROWS

请求
curl -X GET '/v1/services' \
  -H 'Accept: application/json'
响应
{
  "services": [
    {
      "firstSeen": "string",
      "lastSeen": "string",
      "name": "string",
      "signals": {
        "logs": 0,
        "metrics": 0,
        "profiles": 0,
        "spans": 0
      },
      "totalCount": 0
    }
  ]
}

这个页面有帮助吗?