---
title: "Fetch account usage metics"
method: GET
path: "/pipeline/metric/usage"
tags: ["Metrics"]
---

# Fetch account usage metics

`GET /pipeline/metric/usage`

Query and fetch usage metrics for the current account.

## Query parameters

- `from` string, date-time, required
- `to` string, date-time, required
- `bucket` integer, required
- `include_deleted` boolean
- `pipeline_id` string, uuid
- `traffic` 'ingress' | 'egress'

## Response `200`

Default Response

---

[API](https://skmtc.net/mezmo/apis/pipeline-api.md) · [All operations](https://skmtc.net/mezmo/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mezmo/pipeline-api/revisions/fb2535545d90/schema)
