Multitudes API
Export data from Multitudes via API
Before you start
Rate limits
Versioning
Endpoints
Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.
When true, archived teams are included in the response.
falseGET /customer/v1/teams HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "text",
"name": "text",
"status": "active"
}
]
}Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.
GET /customer/v1/metrics HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"type": "leadTime",
"description": "text",
"acceptedQueryParams": [
"repositories",
"excludeWeekendHours"
],
"drilldown": true
}
]
}Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.
The metric to retrieve.
Start of the date range as an ISO 8601 datetime. Required.
2025-01-01T00:00:00ZEnd of the date range as an ISO 8601 datetime. Required.
2025-03-31T23:59:59ZTimescale for bucketing data points.
weeklyPossible values: Comma-separated team IDs to filter (mutually exclusive with teamNames, max 50).
Comma-separated team names to filter (mutually exclusive with teamIds, max 50).
Comma-separated repository names to filter (GitHub metrics only).
Exclude weekend hours from calculations. Applies to PR cycle time metrics.
falseInclude PRs where the author also reviewed. Default false.
falseLimit to commits/PRs on default branch only. Applies to githubFeatureVsMaintenance.
falseExclude the org-level rollup series from the response. Default false.
falseView type for githubFeatureVsMaintenance. Default timeSeries.
How to group chart series. Defaults to team. AI metrics support: jobLevel, timezone, aiTool, nonContributors. PagerDuty metrics support: service, escalationPolicy.
teamPossible values: When true, return one series per team member instead of per team. Supported for meeting-hours calendar, PR cycle, and GitHub code review metrics only.
falseUnit to count by. For issue tracker metrics (jiraTypeOfWork, jiraFeatureVsMaintenance, linearTypeOfWork, linearFeatureVsMaintenance): issues (default) or storyPoints. For GitHub feedback metrics (feedbackGiven, feedbackReceived, feedbackParticipationGap): comments (default) or reviews. For page disruption metrics (pagerdutyPageDisruptions, pagerdutyPageDisruptionsOoh): pages (default) or disruptedHours.
Direction for feedback quality/themes metrics: 'given' (comments the team wrote) or 'received' (comments written on the team's PRs). Default given.
givenPossible values: Comma-separated PagerDuty priority IDs to filter by (PagerDuty metrics only). Use the priority IDs from your PagerDuty configuration.
PY9X4YF,PUA93JSComma-separated urgency levels to filter by (PagerDuty metrics only). Valid values: high, low.
high,lowMetric type identifier.
Query start date as ISO 8601 timestamp. Absent for aggregate view.
Query end date as ISO 8601 timestamp. Absent for aggregate view.
Timescale used for data point bucketing. Absent for aggregate view.
Unit of measurement for this metric's values. A plain string for all metrics except aiIntensityOfUsage, which returns an object keyed by value field (spend, inputTokens, linesChanged) since that metric emits three parallel units per data point.
Invalid query parameters.
Metric type not found or not available for your organization.
GET /customer/v1/charts/{metricType}?from=2025-01-01T00%3A00%3A00Z&to=2025-03-31T23%3A59%3A59Z HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"metricType": "text",
"from": "text",
"to": "text",
"timescale": "daily",
"options": {
"repositories": [
"text"
],
"excludeOrganization": true,
"excludeWeekendHours": true,
"includeSelfiePrs": true,
"defaultBranchOnly": true,
"view": "timeSeries",
"direction": "given",
"groupBy": "team",
"cohortMetric": "dailyActiveUsage",
"cohortThreshold": 1,
"cohortLookbackWeeks": 1,
"individual": false,
"countBy": "issues",
"priorities": [
"text"
],
"urgencies": [
"high"
]
},
"series": [
{
"id": "text",
"name": "text",
"type": "team",
"dataPoints": [
{
"startDate": "text",
"endDate": "text",
"value": 1,
"p50": 1,
"p75": 1,
"p90": 1,
"p95": 1,
"count": 1,
"memberCount": 1,
"spend": 1,
"inputTokens": 1,
"linesChanged": 1,
"total": 1,
"label": "text"
}
]
}
],
"units": "text"
}Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.
Comma-separated team IDs to filter (mutually exclusive with teamNames, max 50).
Comma-separated team names to filter (mutually exclusive with teamIds, max 50).
Super-user list.
GET /customer/v1/super-users HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Super-user list.
{
"items": []
}Models
Last updated
Was this helpful?

