What is the sum value of the metric in the dataset?

*Endpoint: https://generate-text-mrwwgrktvq-ue.a.run.app/report-asset-class-sum

Description: Reports the sum of the value for a given asset class.

Call structure:

curl -XPOST -d '
"post_body:"{
  {
    "metric_df": [
      {
        "value": 12,
        "asset_id": "Ben Simmons",
        "name": "points",
        "asset_class":"the Sixers",
      },
      {
         "value": 21,
        "asset_id": "Tobias Harris",
        "name": "points",
        "asset_class":"the Sixers",
      },
      {
        "value": 29,
        "asset_id": "Joel Embiid",
        "name": "points",
        "asset_class":"the Sixers",
      },
      {
        "value": 14,
        "asset_id": "Seth Curry",
        "name": "points",
        "asset_class":"the Sixers",
      },
      {
        "value": 11
        "asset_id": "Danny Green",
        "name": "points",
        "asset_class":"the Sixers",
      }
    ],
    "key": ["api_token_here"]
  }
}' 'https://generate-text-mrwwgrktvq-ue.a.run.app/streak-sentence'

📘

Sample API Response

The Sixers had 104 points.