> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.nozle.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Margin Summary

Get an aggregate margin summary across all customers and metrics.

**Auth:** `sk_` only

<Warning>
  All margin endpoints require a secret key (`sk_`). These endpoints expose cost data that should never be visible to your end users.
</Warning>

<ParamField query="from" type="string">
  Start date in `YYYY-MM-DD` format (inclusive)
</ParamField>

<ParamField query="to" type="string">
  End date in `YYYY-MM-DD` format (inclusive)
</ParamField>
