Health Metrics
Create health metric
Creates a health metric from a templated metric definition.
POST
Create health metric
Authorizations
Owner-typed API key (ORGANIZATION, PERSON, VALUE_UNIT). Manage org-scoped lifecycle with /v1/public-api-keys; cross-org governance is restricted to /v1/sys/public-api-keys.
Body
application/json
Create payload for a health metric. Resolve scope and template ids before creating.
Available options:
TEAM, ORG_UNIT, VALUE_UNIT, STRATEGIC_CONCEPT, PERSON, CLIENT_PROJECT, ORGANIZATION, TIMESHEET Pattern:
\SPattern:
\SAvailable options:
DAY, MONTH, QUARTER, YEAR Available options:
AVERAGE, SUM, GEOMETRIC_MEAN, LAST_VALUE Available options:
BASELINE, INCREASE, DECREASE, MAINTAIN, MILESTONE, PERCENTAGE Available options:
DAY, MONTH, QUARTER, FOUR_MONTHS, SIX_MONTHS, YEAR, TWO_YEARS, THREE_YEARS, FIVE_YEARS, CUSTOM Example:
"2022-03-10"
Example:
"2022-03-10"
Available options:
NO_ZONES, TWO_ZONES_YES_NO, TWO_ZONES_YES_NO_ASPIRATIONAL, TWO_ZONES, TWO_ZONES_ASPIRATIONAL, TWO_ZONES_BEST_WORST, THREE_ZONES, THREE_ZONES_BEST_WORST, FOUR_ZONES_ASPIRATIONAL, FOUR_ZONES_SOFT_ORANGE, FOUR_ZONES_SOFT_GREEN, THREE_ZONES_MAINTAIN, FIVE_ZONES_MAINTAIN Maximum array length:
2Optional flag to auto-resolve conflicting health metric periods during create.
Response
Health metric created
Available options:
DAY, MONTH, QUARTER, YEAR Available options:
AVERAGE, SUM, GEOMETRIC_MEAN, LAST_VALUE Available options:
BASELINE, INCREASE, DECREASE, MAINTAIN, MILESTONE, PERCENTAGE Available options:
DAY, MONTH, QUARTER, FOUR_MONTHS, SIX_MONTHS, YEAR, TWO_YEARS, THREE_YEARS, FIVE_YEARS, CUSTOM Example:
"2022-03-10"
Example:
"2022-03-10"
Available options:
NO_ZONES, TWO_ZONES_YES_NO, TWO_ZONES_YES_NO_ASPIRATIONAL, TWO_ZONES, TWO_ZONES_ASPIRATIONAL, TWO_ZONES_BEST_WORST, THREE_ZONES, THREE_ZONES_BEST_WORST, FOUR_ZONES_ASPIRATIONAL, FOUR_ZONES_SOFT_ORANGE, FOUR_ZONES_SOFT_GREEN, THREE_ZONES_MAINTAIN, FIVE_ZONES_MAINTAIN Example:
"2022-03-10T16:15:50Z"
Example:
"2022-03-10T16:15:50Z"

