Suggests a metric based on a title and / or description
cURL
curl --request POST \ --url https://metrics.eu.confidence.dev/v1/metrics:suggestMetric \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "metric": { "displayName": "<string>", "entity": "<string>", "factTable": "<string>", "typeSpec": {}, "createTime": {}, "updateTime": {}, "creator": "<string>", "updater": "<string>", "name": "<string>", "description": "<string>", "aggregationWindow": {}, "exposureOffset": {}, "measurementConfig": {}, "varianceReductionConfig": {}, "nullHandling": {}, "derivedUnit": {}, "preferredDirection": {}, "defaultEffectSize": {}, "filter": {}, "filterString": "<string>", "deleteTime": {}, "labels": [ {} ], "systemCreated": true, "owner": "<string>" }, "error": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The body is of type object.
object
OK
The suggested metric, empty if no suggestion could be made.
Show child attributes
an error message if the suggestion failed.
Was this page helpful?