v4

latestOpenAPI 3.0.02026-07-316584128.0 KB
Branches
Metrics

Retrieve branch metrics

Returns time-series data for one or more metrics of a branch.

post/organizations/{organizationID}/projects/{projectID}/branches/{branchID}/metrics

Path parameters

organizationIDstring required
projectIDstring required
branchIDstring required

Request body

startstring date-time required

Start time

endstring date-time required

End time

metricsBranchMetricName[] required

List of metric names to query.

instancesstring[]

List of instance IDs to query

aggregationsstring[] required

List of aggregations to get, this is how the data-points within the interval are aggregated. Each one will generate a separate time-series per metric in the response.

Response

Metrics for a branch

startstring date-time required
endstring date-time required