Files
openrouter-python-sdk-retry…/docs/operations/metric.mdx
T

12 lines
3.8 KiB
Plaintext

---
title: "Metric"
---
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `display_format` | [operations.DisplayFormat](../operations/displayformat.mdx) | :heavy_check_mark: | How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with $) | number |
| `display_label` | *str* | :heavy_check_mark: | Human-readable label | Request Count |
| `is_rate` | *bool* | :heavy_check_mark: | Whether this metric is a rate/ratio (averaged, not summed) | |
| `name` | *str* | :heavy_check_mark: | Metric identifier used in query requests | request_count |