Metrics

Project metrics

Contains an overview of the aggregated metrics for a project. It includes metrics link the amount of records, bytes, and errors per plugin.

GEThttps://cloud-api.calyptia.com/v1/projects/{projectID}/metrics
Authorization
Path parameters
projectID*string (uuid)
Query parameters
Response

OK

Headers
Body
measurements*object
topPlugins*object
Request
const response = await fetch('https://cloud-api.calyptia.com/v1/projects/{projectID}/metrics', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{}