get_flow
Fetch one flow by id (from list_flows or from the flows of an issue's impact): calls and failures in the last day and in the asked range against its baseline, the deployment environments it ran in with their call counts, up to ten failedCalls sampled newest first from the range, each with a traceId, its span status, its HTTP status, how long it took and, when an exception was linked to it, the fingerprint and exception type of the issue behind it, then every issue seen on this flow with what callers got. unexplainedFailedCalls is how many failures in the range no issue accounts for. To read what went wrong on a route: call this, take the fingerprint off the newest failedCalls entry and call get_issue with include=occurrences on it for real frames, or take that entry's traceId to the trace tools for the whole request; when the entry carries no fingerprint the failure left no exception, so the trace is the only lead. Pass from and to as epoch seconds or ISO instants to look at a window other than the last 21 days (from defaults to 21 days before to, to defaults to now), and environment to count one deployment environment only. Pass includeSeries=true to also get the calls and failures per bucket and the exceptions per bucket by issue, which is large; leave it out when you only need the numbers, the samples and the issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The flow id (from list_flows, or from the flows of an issue's impact) | |
| to | No | End of the window, as epoch seconds or an ISO instant (default now) | |
| from | No | Start of the window, as epoch seconds or an ISO instant (default 21 days before to) | |
| environment | No | Only count what happened in this deployment environment, such as production (default every environment) | |
| includeSeries | No | true to also answer the calls and failures per bucket and the exceptions per bucket by issue (default false) |