Search traces
tideways_search_tracesFind individual request traces with response time, memory, bottlenecks, and slowest layers to investigate slow or failing requests by text, time window, and response time.
Instructions
Find individual request traces (at most 30 per call, newest first unless sortBy is set) with response time, memory, bottlenecks and the slowest layers. Use to investigate specific slow or failing requests; filter by text, time window and response time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Latest trace time (inclusive), "YYYY-MM-DD HH:mm" UTC; needs "from" as well | |
| from | No | Earliest trace time, "YYYY-MM-DD HH:mm" UTC; needs "to" as well | |
| detail | No | "concise" (default) returns a trimmed summary. "full" also includes the unmodified API response under "raw"; it can be very large. | concise |
| search | No | One whole word from the transaction name or URL path (e.g. "checkout"), matched against transaction, host and URL tokens. Several words match any of them and widen the result. | |
| sortBy | No | response_time = slowest first, memory = highest first; omit for newest first. Without from/to, sorted results span all retained traces (~30 days). | |
| project | No | Tideways project as "project" or "organization/project". Defaults to the defaultProject that tideways_list_projects reports; call it for valid names. | |
| service | No | Service, e.g. "web" or "worker". Defaults to the configured service, else the project's default service. A project can have several services; tideways_list_services lists them. When results come back, an unknown name fails with an error. | |
| environment | No | Environment, e.g. "production" or "staging". Defaults to the configured environment, else production; criteria.environment (traces: each trace's environment) shows which was used. When results come back, an unknown name fails with an error. | |
| withCallgraph | No | true = only traces that have a full callgraph (profile) | |
| maxResponseTimeMs | No | ||
| minResponseTimeMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Unmodified Tideways API response; present only when detail is "full". | |
| count | Yes | ||
| traces | Yes | ||
| project | Yes | ||
| limitReached | Yes | True when 30 traces came back, the API maximum: narrow the time window or change sortBy to see others |