Skip to main content
GET
/
api
/
v1
/
beam
/
{config_id}
/
deploy
/
metrics
Get Pipeline Metrics Handler
curl --request GET \
  --url https://api.allium.so/api/v1/beam/{config_id}/deploy/metrics \
  --header 'X-API-KEY: <api-key>'
{
  "pipeline_id": "<string>",
  "time_range": "<string>",
  "messages_received_per_min": 123,
  "messages_sent_per_min": 123,
  "total_latency": {
    "p50": 123,
    "p90": 123,
    "p99": 123,
    "unit": "ms"
  },
  "processing_latency": [
    {
      "path": "<string>",
      "latency": {
        "p50": 123,
        "p90": 123,
        "p99": 123,
        "unit": "ms"
      }
    }
  ],
  "processor_error_rate": 123,
  "output_error_rate": 123,
  "data_freshness_ms": 123
}
Returns throughput, latency, and error rate metrics for the deployment.
Required permission: read — owners, editors, readers, and members of teams shared via viewer_team.
Path parameters:
ParameterDescription
config_idPipeline configuration ID
Query parameters:
ParameterDefaultDescription
time_range1hTime range: 1h, 1d, or 1w
aggregatedfalsetrue returns a single summary, false returns time-series data points
curl -X GET "https://api.allium.so/api/v1/beam/${CONFIG_ID}/deploy/metrics?time_range=1h&aggregated=true" \
  -H "X-API-Key: ${ALLIUM_API_KEY}"
Available metric types: messages_received, messages_sent, total_latency, processing_latency, processor_errors, output_errors, data_freshness
{
  "config_id": "abc123",
  "metrics": [
    {
      "metric_type": "messages_received",
      "points": [
        { "timestamp": "2026-03-24T07:21:40Z", "value": 0.0 },
        { "timestamp": "2026-03-24T07:22:40Z", "value": 15.3 },
        { "timestamp": "2026-03-24T07:23:40Z", "value": 22.1 }
      ]
    },
    {
      "metric_type": "messages_sent",
      "points": []
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

config_id
string
required

Query Parameters

time_range
enum<string>
default:1h

Time range for metrics

Available options:
1h,
1d,
1w
aggregated
boolean
default:false

If True, returns aggregated pipeline metrics. If False, returns raw metric series.

Response

Successful Response

pipeline_id
string
required
time_range
string
required
messages_received_per_min
number | null
messages_sent_per_min
number | null
total_latency
LatencyPercentiles · object
processing_latency
ProcessorLatency · object[]
processor_error_rate
number | null
output_error_rate
number | null
data_freshness_ms
number | null