List services
tideways_list_servicesList a Tideways project's services (web, APIs, workers, CLI), default first, and search their traces by one word to find the service handling an app, API, worker, or missing transaction.
Instructions
List the services of a project (web, APIs, workers, CLI) named by its issues, the default service first. Call it when the user names an app, API or worker that is not a project, or a transaction that tideways_search_traces does not find in the default service, with "search" set to one word of it: each service is searched for that word and the services are sorted by matching traces, so the first ones serve it. Costs 4 requests, plus 1 per service searched: at most 30, fewer when the hourly rate limit is small or nearly used up. Only services named by the newest open or ignored issues are listed; the Tideways UI service selector lists all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | One whole word of the app, API, worker or transaction to find (e.g. "voucher"). Searches the traces of each service for it (one request per service: at most 30 services, fewer when the hourly rate limit is small or nearly used up) and sorts the services by matching traces. | |
| project | No | Tideways project as "project" or "organization/project". Defaults to the defaultProject that tideways_list_projects reports; call it for valid names. | |
| environment | No | Environment, e.g. "production" or "staging". Defaults to the configured environment, else production; "environment" in the result shows which was used. When results come back, an unknown name fails with an error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Present only with "search" | |
| project | Yes | ||
| services | Yes | Services named by the newest open or ignored errors, slow SQL queries and deprecations of all services (first page of each), plus the default service; other services are missing, and the Tideways UI service selector lists all. Sorted default first, then by issues; with "search", by matchingTraces. | |
| environment | Yes | Environment whose issues were read | |
| defaultService | Yes | The project's default service, read when no service is passed or configured |