Skip to main content

Metrics API

The Metrics API enables you to query system metrics related to flows. Essentially, these metrics allow you to track the performance of the endpoint that the flow uses to send requests. The metrics include the number of requests sent to an endpoint, the number of errors, the distribution of request latency, error rate, and endpoint availability. There is a threshold for the minimum number of requests within a flow. The rule is as follows: if a flow generated fewer than 250 requests, an exception will be thrown, indicating that there is not enough data. Once this threshold is reached, the data will be returned in the usual manner. Flow metrics are still being developed and may change as we improve our methodologies. We encourage you to use these metrics for directional guidance, but use caution when using them for historical comparisons or strategic planning.

Available Flow Metrics

All metrics are not realtime. In some cases it may take a couple of hours for metric events to be ingested and become available for querying. Every metric has a unique name which acts as a metric identifier and an associated data object.

Variables Required for API Calls

The following variables are required in these API calls.

API endpoints

Querying metric data points

This endpoint allows you to retrive a particular metric data points for a specified time period and granularity. Sample Request
Sample Response
←\ \ Previous\ \ Quality and Management Webhook →\ \ Next\ \ Playground On This Page Metrics API Available Flow Metrics Variables Required for API Calls API endpoints Querying metric data points