Get component metric series
Retrieve each metric’s history for a specific Component on the Project’s default branch as a time series over the requested window. Returns one series per metric — covering maintainability, reliability, security, size, coverage, and quality indicators — each with the metric’s descriptor and one value per interval; narrow the result with the metric and category query parameters. Available as JSON, newline-delimited JSON (application/x-ndjson), or CSV (text/csv) via the Accept header. Buckets are UTC-aligned and labeled with the inclusive end of each interval; a bucket with no measurement carries the most recent prior value forward, and the final bucket (the one containing to) may be labeled later than to — including the future for an interval still in progress — with its value reflecting only measurements within the window.
Authorizations
Generate an API token at https://qlty.sh/user/settings/tokens
Path Parameters
Repository owner name (login) or workspace ID
3"acme-corp"
Repository name or project ID
3"my-repo"
Component ID or name
1"backend-api"
Query Parameters
Window start (RFC 3339 date or date-time, inclusive). Defaults to six months before to.
"2026-01-01"
Window end (RFC 3339 date or date-time, inclusive). Defaults to the current time and is clamped to it.
"2026-06-01"
Bucket size; buckets are UTC-aligned and weeks start Monday
day, week, month Filter by metric key
CMPLX, DUP, MNT, SEC, SIZE, ISS, SECI, TDR, FILES, LOC, COV, LCOV Filter by metric category
maintainability, reliability, security, size, coverage, quality