DocsAPIMetrics

List metric names

Returns the distinct metric names, optionally scoped to a single company, with how many data points each name has and the end of its most recent period. Includes the metrics that are derived rather than stored (is_derived) – any name listed here can be passed to the metrics endpoint. Useful for discovering which metrics are available before querying them.

GET
/metrics/names
Query Params

Filter by company ID. Omit to list the names used anywhere in the workspace.

Example: 42

Credentials

Bearer
curl -X GET "https://api.fundra.com/v1/metrics/names?company_id=42" \
  -H "Authorization: Bearer <token>"

Successfully retrieved metric names

{
  "data": [
    {
      "name": "revenue",
      "count": 24,
      "last_period_end": "2024-12-31",
      "is_derived": false,
      "computed_count": 36
    }
  ]
}