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. 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"
    }
  ]
}