metrics

Get Metric Definition

Changed on

Return the semantic definition of one metric — contract facts + prose (PR 32).

get/api/v1/metrics/{source}/{ref}

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/metrics/{source}/{ref}
  • Auth: none declared

Path parameters

sourcestring required
refstring required

Response

Successful Response

source_kind'standard' | 'platform_calculation' | 'evaluated' | 'calculated' required
refstring required
labelstring required
calculation_kindstring nullable
entitystring nullable
formatstring nullable
time_dimensionstring nullable
aggregation_behaviorstring nullable
polarity'higher_is_better' | 'lower_is_better' | 'neutral' nullable
grouping_behaviorstring nullable
drill_kindstring nullable
contribution_identifierstring nullable
source_entitystring nullable
scope_rulesstring[]
display_expressionstring nullable
expressionobject nullable
disclosuresstring[]
zero_divisionstring nullable
statusstring
versioninteger nullable
superseded_bystring nullable

Changes

    • warning

      added the new crm_record_count enum value to the /// response property for the response status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status