const response = await fetch('https://cloud-api.calyptia.com/v1/aggregators/{aggregatorID}/pipelines_metrics?pipeline_id=123e4567-e89b-12d3-a456-426614174000', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();