service.name that sends server or consumer spans. The Services API returns the
request rate, error rate, latency, and health of each service, its operations and dependencies,
and the map of calls between services and databases. See
Services and releases for how Squasher finds services and sets
their health.
Operations
All three operations need the
errors:read scope. URL-encode service_name.
Query parameters
Every operation takes a window and an environment:
The window is at most 7 days.
services.list also takes these parameters:
List services
Rates are percents from 0 to 100. Latencies are in milliseconds.
throughput_per_min is requests per
minute over the window.
Read one service
upstreamlists the services that call this service.downstreamlists the services it calls.databaseslists the database systems it calls, bydb.system.name.releaseslists the releases of the service that served in the window, newest first. Each item has the same fields aslast_releaseabove.serieshas one point for eachgranularitybucket.
status: "no_data" and empty sections, not an error.
Read the service map
id is service:<service.name> or database:<db.system.name>. An edge kind is call
(service to service) or database (service to database). source and target are node IDs.
Errors
TypeScript client, CLI, and MCP
--json to print the full response. In MCP Code Mode, call search("services") first, then
execute with services.list, services.get, or services.map.