Retrieve a custom metric definition
API key must have the View Eng Intelligence permission. A draft metric returns 404 unless the key also has the Configure Eng Intelligence custom metrics permission.
Authorizations
Response
The custom metric definition
A custom metric defined in the workspace
How Cortex shows the metric's values. The values stay as recorded. type is NUMBER, PERCENTAGE, CURRENCY (US dollars, always shown with cents), or DURATION. decimals is 0 to 6 and is not allowed for CURRENCY or DURATION. inputUnit is the unit the values are recorded in: RATIO (0 to 1) or PERCENT (0 to 100) for PERCENTAGE, and SECONDS, MINUTES, or HOURS for DURATION. Omit displayFormat to show the values as recorded.