---
title: "Get usage metrics"
method: POST
path: "/pipeline/account/local-deploy/metric/usage"
tags: ["Edge - Local Deploy"]
---

# Get usage metrics

`POST /pipeline/account/local-deploy/metric/usage`

## Request

- Base URL: `https://api.mezmo.com/v3`
- URL: `https://api.mezmo.com/v3/pipeline/account/local-deploy/metric/usage`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/mezmo/apis/pipeline-api/docs/pipeline/account/local-deploy/metric/usage/post.ts> (a function with typed inputs; its response is checked against the schema)

Receive usage metrics from an Edge pipeline

## Query parameters

- `edge_id` string

## Request body

- object[]
  - `event_ts` integer, required
  - `pipeline_id` string, uuid, required
  - `component_id` string, required
  - `processor` string, required
  - `total_count` integer, required
  - `total_size` integer, required

## Response `200`

Default Response

---

[API](https://skmtc.dev/mezmo/apis/pipeline-api.md) - [All operations](https://skmtc.dev/mezmo/apis/pipeline-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mezmo/apis/pipeline-api/revisions/fb2535545d90?raw)
