Busiest-links × time heatmap: picks the top interfaces by current throughput, then returns each link's throughput (bits/sec) over time on a shared timestamp axis.
const url = 'https://example.com/api/v1/metrics/interface-heatmap';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/metrics/interface-heatmap \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”A links × time throughput grid on one shared timestamp axis
A links × time grid. values[i][j] is link i’s throughput at timestamps[j], so every row
is the same length and the client can shade cells without bounds checks.
object
true when the link set covers only the groups the calling account may see and links it is
entitled to may be missing. Always false for an account with unrestricted visibility.
Examplegenerated
{ "links": [ "example" ], "partial": true, "timestamps": [ 1 ], "values": [ [ 1 ] ]}No valid bearer token
The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI
document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies
undescribed — a client that has to guess the failure shape ends up parsing the success shape and
reading undefined.
object
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Role lacks the read permission
The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI
document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies
undescribed — a client that has to guess the failure shape ends up parsing the success shape and
reading undefined.
object
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}