Skip to main content
GET
/
pipeline
/
metric
/
usage
Fetch account usage metics
curl --request GET \
  --url https://api.mezmo.com/v3/pipeline/metric/usage \
  --header 'Authorization: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://mezmo-9a59581a-mintlify-926f893d.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your token in the format: Token mytokengoeshere

Query Parameters

from
string<date-time>
required

Define the beginning of the window

to
string<date-time>
required

Define the end of the window

bucket
integer
required

Size of the interval represented by each returned metric result

Required range: x >= 300
include_deleted
boolean
default:true

Include Pipelines and nodes that have been deleted

pipeline_id
string<uuid>

Limit usage metrics to the given pipeline id. If not defined, the metrics will include all pipelines for the account.

traffic
enum<string>

Limit usage metrics to a single traffic direction. If not defined, the metrics for both directions will be included.

Available options:
ingress,
egress

Response

200

Default Response