GET
/
v2
/
projects
/
{project_id}
/
metric-aggregations
Get metric aggregations for a project
curl --request GET \
  --url https://api.tokenterminal.com/v2/projects/{project_id}/metric-aggregations \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "project_name": "<string>",
      "project_id": "<string>",
      "metric_id": "<string>",
      "metric_aggregation_name": "<string>",
      "value": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Allows you to select one of the projects available.

Response

200 - application/json

OK

The response is of type object.