/api/metric

GET /api/metric/{id}/dimension/{dimension-key}/values

Changed on

Fetch values for a dimension of a metric.

Returns field values in the same format as the field values API:

  • values: list of [value] or [value, display-name] tuples
  • field_id: the underlying field ID
  • has_more_values: boolean indicating if there are more values
get/api/metric/{id}/dimension/{dimension-key}/values

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Path parameters

idinteger required

value must be an integer greater than zero.

dimension-keystring required

value must be a valid UUID.

Response

Successful response

has_more_valuesboolean required

Changes

    • info

      added subschema #1 subschema #2 to the / response property anyOf list for the response status

    • info

      removed subschema #1 subschema #2 from the / response property anyOf list for the response status

    • info

      endpoint added