Multitudes API
Export data from Multitudes via API
The Multitudes API is a public REST API that lets you interact with the Multitudes app programmatically. You can query chart data, retrieve the underlying records (drilldown data) for the metrics that support it, and retrieve metadata about your organization.
All data is returned in a consistent JSON format that makes it easy to combine with other data sources or build custom workflows around your engineering data.
Prefer to query your data from an AI assistant? See the Multitudes MCP Server.
Before you start
All endpoints are served from https://api.multitudes.co. An OpenAPI spec is available without authentication at https://api.multitudes.co/v1/openapi.json.
Authenticate using an organization API key passed as Authorization: Bearer <token>. Keys must have the data:read scope to access metric endpoints. See how to generate an API key here.
Rate limits
Current rate limits are as follows:
6 requests per second
30 requests per minute
150 requests per hour
These limits are per key and are set to ensure API and app performance with the API load we're expecting. We'll be monitoring API usage and revisiting these rate limits over time.
Working with chart data
Find what a metric accepts
Not every metric accepts every query parameter. GET /v1/metrics lists each metric's accepted optional parameters and whether it supports drilldown. Check it before using a parameter such as view, individual or groupBy.
Date ranges
from and to are calendar days in your organization's timezone. The time of day is ignored, and to is inclusive, so to=2026-11-10 includes all of 10 November. Data is bucketed by timescale (daily, weekly or monthly). Timestamps in responses are ISO 8601 in UTC, so for an organization behind UTC the end of a day can appear as early the next day.
For example, weekly lead time for one team over October:
Reading the response
Each series has
dataPoints, one per time bucket. Withview=aggregate, there is instead one data point per category for the whole period, each with alabel. Most metrics also haveaggregateData: a single data point for the whole period. Use it for a period-wide figure instead of combining buckets.The response includes an organization-wide series alongside your teams. Pass
excludeOrganization=trueto leave it out.With
view=aggregate, the response forgithubFeatureVsMaintenanceleaves outfrom,toandtimescale.leadTimekeeps them.
Grouping and per-person data
groupBy=repositoryworks only for pull request metrics. It returns one series per repository, with no team or organization series. Organizations can have hundreds of repositories, so passrepositories(comma-separated names) to limit the series.GET /v1/repositorieslists names, but only for repositories with activity in the last 12 weeks.individual=truereturns one series per team member, and only for metrics that accept it.
Drilldown
GET /v1/charts/{metricType}/drilldown returns the underlying records, such as pull requests, for metrics that support it. It accepts the same filters as the chart endpoint, plus limit. To read more, pass the nextCursor from the response as cursor. When nextCursor is absent, there are no more results. Drilldown doesn't support groupBy=repository.
Versioning
All endpoints are versioned, with the current version being v1.
Endpoints
Returns the organization's teams, active teams first, each group sorted by name. Archived teams are included only when includeArchived is true.
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 /v1/teams HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "text",
"name": "text",
"status": "active"
}
]
}Returns the repository names, sorted by name, to use in the repositories filter of chart requests. Only repositories with recent activity (pushed in the last 12 weeks) are listed, so a repository with only older activity can still appear in chart data. An empty list is also returned if GitHub could not be reached.
Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.
The organization's repositories, sorted by name.
GitHub is not connected for this organization.
GET /v1/repositories HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"name": "web-app"
}
]
}Returns each metric with a description and the optional query parameters it accepts beyond the standard ones (from, to, timescale, teamIds, teamNames).
Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.
GET /v1/metrics HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"type": "leadTime",
"description": "text",
"acceptedQueryParams": [
"repositories",
"excludeWeekendHours"
],
"drilldown": true,
"docsUrl": "https://docs.multitudes.com/metrics-and-definitions/process-metrics/flow-of-work/coding-time"
}
]
}Returns time-series or aggregate chart data for the specified metric. Use GET /v1/metrics to discover supported metrics and their accepted query parameters.
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. Only the calendar day is used, in the organisation's timezone (the time of day is ignored); the range starts at the beginning of that day.
2025-01-01T00:00:00ZEnd of the date range as an ISO 8601 datetime. Required. Only the calendar day is used, in the organisation's timezone (the time of day is ignored); that day is inclusive, so the range ends at the end of that day.
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. List the names with GET /v1/repositories (the list_repositories tool in MCP). Only for metrics that list repositories in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
Exclude weekend hours from calculations. Only for metrics that list excludeWeekendHours in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
falseInclude PRs where the author also reviewed. Default false. Only for metrics that list includeSelfiePrs in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
falseLimit to commits/PRs on default branch only. Only for metrics that list defaultBranchOnly in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
falseExclude the org-level rollup series from the response. Default false.
falseHow to present the data: timeSeries (default) gives one data point per time bucket; aggregate gives one data point per category or stage over the whole period. Only for metrics that list view in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
How to group chart series. Defaults to team. AI metrics support: jobLevel, timezone, aiTool, nonContributors. PagerDuty metrics support: service, escalationPolicy. Pull request metrics (those listing groupBy in list_metrics) support: repository, which returns one series per repository; teamIds/teamNames only choose whose pull requests are included, and no team or organization series are returned. Combine with repositories to limit the number of series.
teamPossible values: When true, return one series per team member instead of per team. Covers meeting hours, PR stage times (coding, review wait, editing, merge wait, deploy), feedback given and received, commits out of hours, and PagerDuty page disruptions; lead time is not included. Only for metrics that list individual in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
falseUnit to count by. Issue tracker metrics: issues (default) or storyPoints. GitHub feedback metrics: comments (default) or reviews. Page disruption metrics: pages (default) or disruptedHours. Only for metrics that list countBy in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
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 the githubFeatureVsMaintenance aggregate view; present for the leadTime aggregate view.
Query end date as ISO 8601 timestamp. Absent for the githubFeatureVsMaintenance aggregate view; present for the leadTime aggregate view.
Timescale used for data point bucketing. Absent for the githubFeatureVsMaintenance aggregate view; present for the leadTime aggregate view, where it has no effect because the whole period is one bucket.
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 /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"
}
],
"aggregateData": {
"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"
}Returns individual raw records (e.g. pull requests) contributing to the metric, cursor-paginated. Accepts the same query parameters as GET /v1/charts/:metricType, plus cursor and limit. Not every metric supports drilldown — check GET /v1/metrics for the drilldown flag.
Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.
The metric to drill into.
Start of the date range as an ISO 8601 datetime. Required. Only the calendar day is used, in the organisation's timezone (the time of day is ignored); the range starts at the beginning of that day.
2025-01-01T00:00:00ZEnd of the date range as an ISO 8601 datetime. Required. Only the calendar day is used, in the organisation's timezone (the time of day is ignored); that day is inclusive, so the range ends at the end of that day.
2025-03-31T23:59:59ZComma-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. List the names with GET /v1/repositories (the list_repositories tool in MCP). Only for metrics that list repositories in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
Include PRs where the author also reviewed. Default false. Only for metrics that list includeSelfiePrs in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
falseLimit to commits/PRs on default branch only. Only for metrics that list defaultBranchOnly in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
falseExclude the org-level rollup series from the response. Default false.
falseUnit to count by. Issue tracker metrics: issues (default) or storyPoints. GitHub feedback metrics: comments (default) or reviews. Page disruption metrics: pages (default) or disruptedHours. Only for metrics that list countBy in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).
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,lowHow to group the records. Defaults to team. AI metrics support: jobLevel, timezone, aiTool, nonContributors. PagerDuty metrics support: service, escalationPolicy.
teamPossible values: Opaque pagination cursor from a previous response's nextCursor.
Maximum number of items to return. Default 50, max 100.
50Metric type identifier.
Raw records for the current page. Shape varies by metric.
Cursor to fetch the next page. Absent when there are no more results.
Invalid query parameters.
Metric type not found, not available for your organization, or drilldown is not supported for it.
GET /v1/charts/{metricType}/drilldown?from=2025-01-01T00%3A00%3A00Z&to=2025-03-31T23%3A59%3A59Z HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"metricType": "text",
"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"
]
},
"items": [
"text"
],
"nextCursor": "text"
}Returns the top AI coding tool users over the last 28 days.
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 /v1/super-users HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Super-user list.
{
"items": []
}Models
Last updated
Was this helpful?

