Combined tool analytics dashboard envelope
Single call that fans out to the four ENG-154 dashboard pipes.
Each underlying pipe is independently cached at 60s, so within a one minute window this endpoint serves entirely from Redis.
GET
/
v1
/
analytics
/
tools
/
dashboard
Combined tool analytics dashboard envelope
curl --request GET \
--url https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard \
--header 'x-api-key: <api-key>'import requests
url = "https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"summary": [
{
"current_invocations": 123,
"previous_invocations": 123,
"pct_change_invocations": 123,
"current_errors": 123,
"previous_errors": 123,
"pct_change_errors": 123,
"current_success_rate": 123,
"previous_success_rate": 123,
"pct_change_success_rate": 123,
"current_avg_latency_ms": 123,
"previous_avg_latency_ms": 123,
"pct_change_avg_latency_ms": 123,
"current_p95_latency_ms": 123,
"previous_p95_latency_ms": 123,
"pct_change_p95_latency_ms": 123,
"current_active_tools": 123,
"previous_active_tools": 123,
"pct_change_active_tools": 123
}
],
"top_tools": [
{
"tool_id": "<string>",
"tool_name": "<string>",
"tool_type": "<string>",
"invocations": 123,
"error_count": 123,
"success_rate_pct": 123,
"avg_latency_ms": 123,
"provider": "<string>"
}
],
"health_matrix": [
{
"tool_id": "<string>",
"tool_name": "<string>",
"tool_type": "<string>",
"invocation_count": 123,
"current_error_rate": 123,
"previous_error_rate": 123,
"error_trend_delta": 123,
"success_rate_score": 123,
"latency_score": 123,
"error_trend_score": 123,
"health_score": 123,
"success_rate": 123,
"p95_latency_ms": 123
}
],
"recent_errors": [
{
"timestamp": "2023-11-07T05:31:56Z",
"tool_id": "<string>",
"tool_name": "<string>",
"tool_type": "<string>",
"error_category": "<string>",
"latency_ms": 123,
"provider": "<string>",
"agent_id": "<string>",
"session_id": "<string>",
"status_code": 123,
"error_message": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Query Parameters
Required range:
1 <= x <= 100Required range:
1 <= x <= 200Required range:
1 <= x <= 100Required range:
x >= 1Response
Successful Response
Combined dashboard payload — one envelope, four pre-aggregated panels.
summary is at most one row but the underlying pipe returns a list, so
we keep it as a (possibly empty) list rather than special-casing it on
the client.
Was this page helpful?
⌘I
Combined tool analytics dashboard envelope
curl --request GET \
--url https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard \
--header 'x-api-key: <api-key>'import requests
url = "https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.featherhq.com/v1/analytics/tools/dashboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"summary": [
{
"current_invocations": 123,
"previous_invocations": 123,
"pct_change_invocations": 123,
"current_errors": 123,
"previous_errors": 123,
"pct_change_errors": 123,
"current_success_rate": 123,
"previous_success_rate": 123,
"pct_change_success_rate": 123,
"current_avg_latency_ms": 123,
"previous_avg_latency_ms": 123,
"pct_change_avg_latency_ms": 123,
"current_p95_latency_ms": 123,
"previous_p95_latency_ms": 123,
"pct_change_p95_latency_ms": 123,
"current_active_tools": 123,
"previous_active_tools": 123,
"pct_change_active_tools": 123
}
],
"top_tools": [
{
"tool_id": "<string>",
"tool_name": "<string>",
"tool_type": "<string>",
"invocations": 123,
"error_count": 123,
"success_rate_pct": 123,
"avg_latency_ms": 123,
"provider": "<string>"
}
],
"health_matrix": [
{
"tool_id": "<string>",
"tool_name": "<string>",
"tool_type": "<string>",
"invocation_count": 123,
"current_error_rate": 123,
"previous_error_rate": 123,
"error_trend_delta": 123,
"success_rate_score": 123,
"latency_score": 123,
"error_trend_score": 123,
"health_score": 123,
"success_rate": 123,
"p95_latency_ms": 123
}
],
"recent_errors": [
{
"timestamp": "2023-11-07T05:31:56Z",
"tool_id": "<string>",
"tool_name": "<string>",
"tool_type": "<string>",
"error_category": "<string>",
"latency_ms": 123,
"provider": "<string>",
"agent_id": "<string>",
"session_id": "<string>",
"status_code": 123,
"error_message": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}