curl "https://app.runtm.com/api/v0/telemetry/team/metrics/summary?days=7" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
import requests
resp = requests.get(
"https://app.runtm.com/api/v0/telemetry/team/metrics/summary",
params={"days": 7},
headers={
"Authorization": "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
)
print(resp.json())
const resp = await fetch(
"https://app.runtm.com/api/v0/telemetry/team/metrics/summary?days=7",
{
headers: {
Authorization: "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
}
);
const data = await resp.json();
{
"total_deployments": 23,
"successful_deployments": 20,
"failed_deployments": 3,
"avg_build_duration_ms": 45000
}
Team
Team Deploy Metrics
Deployment metrics summary for the organization.
GET
/
api
/
v0
/
telemetry
/
team
/
metrics
/
summary
curl "https://app.runtm.com/api/v0/telemetry/team/metrics/summary?days=7" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
import requests
resp = requests.get(
"https://app.runtm.com/api/v0/telemetry/team/metrics/summary",
params={"days": 7},
headers={
"Authorization": "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
)
print(resp.json())
const resp = await fetch(
"https://app.runtm.com/api/v0/telemetry/team/metrics/summary?days=7",
{
headers: {
Authorization: "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
}
);
const data = await resp.json();
{
"total_deployments": 23,
"successful_deployments": 20,
"failed_deployments": 3,
"avg_build_duration_ms": 45000
}
Returns aggregated deployment metrics for the organization, proxied from the OSS telemetry API. Includes build counts, success rates, and deployment durations.
Required scope:
activity:read
Requires organization context via the
X-Organization-Id header.integer
default:"7"
Number of days to look back. Range: 1–90.
string
required
The organization to get deployment metrics for.
integer
Total number of deployments in the period.
integer
Number of successful deployments.
integer
Number of failed deployments.
number
Average build duration in milliseconds.
curl "https://app.runtm.com/api/v0/telemetry/team/metrics/summary?days=7" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
import requests
resp = requests.get(
"https://app.runtm.com/api/v0/telemetry/team/metrics/summary",
params={"days": 7},
headers={
"Authorization": "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
)
print(resp.json())
const resp = await fetch(
"https://app.runtm.com/api/v0/telemetry/team/metrics/summary?days=7",
{
headers: {
Authorization: "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
}
);
const data = await resp.json();
{
"total_deployments": 23,
"successful_deployments": 20,
"failed_deployments": 3,
"avg_build_duration_ms": 45000
}