Authorization: Bearer ********************{
"name": "string",
"ask": "string",
"type": "string",
"schema": "string"
}curl --location --request POST '/yiask_custom_metric:update' \
--header 'X-SPACES: default' \
--header 'X-SPACES: {{space}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"ask": "string",
"type": "string",
"schema": "string"
}'{
"id": 0,
"name": "string",
"type": "string",
"ask": "string",
"components": [
"string"
],
"schema": "string",
"genComponents": [
"string"
],
"mergeComponents": [
"string"
],
"calculation_type": "string",
"composite_gen_type": "string"
}