For the complete documentation index, see llms.txt. This page is also available as Markdown.

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. With view=aggregate, there is instead one data point per category for the whole period, each with a label. Most metrics also have aggregateData: 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=true to leave it out.

  • With view=aggregate, the response for githubFeatureVsMaintenance leaves out from, to and timescale. leadTime keeps them.

Grouping and per-person data

  • groupBy=repository works only for pull request metrics. It returns one series per repository, with no team or organization series. Organizations can have hundreds of repositories, so pass repositories (comma-separated names) to limit the series. GET /v1/repositories lists names, but only for repositories with activity in the last 12 weeks.

  • individual=true returns 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

List teams

get

Returns the organization's teams, active teams first, each group sorted by name. Archived teams are included only when includeArchived is true.

Authorizations
AuthorizationstringRequired

Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.

Query parameters
includeArchivedbooleanOptional

When true, archived teams are included in the response.

Default: false
Responses
200Success
application/json
get/v1/teams
GET /v1/teams HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200Success
{
  "items": [
    {
      "id": "text",
      "name": "text",
      "status": "active"
    }
  ]
}

List GitHub repositories

get

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.

Authorizations
AuthorizationstringRequired

Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.

Responses
200

The organization's repositories, sorted by name.

application/json
get/v1/repositories
GET /v1/repositories HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "items": [
    {
      "name": "web-app"
    }
  ]
}

List supported metrics

get

Returns each metric with a description and the optional query parameters it accepts beyond the standard ones (from, to, timescale, teamIds, teamNames).

Authorizations
AuthorizationstringRequired

Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.

Responses
200Success
application/json
get/v1/metrics
GET /v1/metrics HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200Success
{
  "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"
    }
  ]
}

Retrieve chart data

get

Returns time-series or aggregate chart data for the specified metric. Use GET /v1/metrics to discover supported metrics and their accepted query parameters.

Authorizations
AuthorizationstringRequired

Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.

Path parameters
metricTypestring · enumRequired

The metric to retrieve.

Possible values:
Query parameters
fromstringRequired

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.

Example: 2025-01-01T00:00:00Z
tostringRequired

End 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.

Example: 2025-03-31T23:59:59Z
timescalestring · enumOptional

Timescale for bucketing data points.

Default: weeklyPossible values:
teamIdsstringOptional

Comma-separated team IDs to filter (mutually exclusive with teamNames, max 50).

teamNamesstringOptional

Comma-separated team names to filter (mutually exclusive with teamIds, max 50).

repositoriesstringOptional

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).

excludeWeekendHoursbooleanOptional

Exclude weekend hours from calculations. Only for metrics that list excludeWeekendHours in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).

Default: false
includeSelfiePrsbooleanOptional

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).

Default: false
defaultBranchOnlybooleanOptional

Limit to commits/PRs on default branch only. Only for metrics that list defaultBranchOnly in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).

Default: false
excludeOrganizationbooleanOptional

Exclude the org-level rollup series from the response. Default false.

Default: false
viewstring · enumOptional

How 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).

Possible values:
groupBystring · enumOptional

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.

Default: teamPossible values:
individualbooleanOptional

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).

Default: false
countBystring · enumOptional

Unit 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).

Possible values:
directionstring · enumOptional

Direction for feedback quality/themes metrics: 'given' (comments the team wrote) or 'received' (comments written on the team's PRs). Default given.

Default: givenPossible values:
prioritiesstringOptional

Comma-separated PagerDuty priority IDs to filter by (PagerDuty metrics only). Use the priority IDs from your PagerDuty configuration.

Example: PY9X4YF,PUA93JS
urgenciesstringOptional

Comma-separated urgency levels to filter by (PagerDuty metrics only). Valid values: high, low.

Example: high,low
Responses
200Success
application/json
metricTypestringRequired

Metric type identifier.

fromstringOptional

Query start date as ISO 8601 timestamp. Absent for the githubFeatureVsMaintenance aggregate view; present for the leadTime aggregate view.

tostringOptional

Query end date as ISO 8601 timestamp. Absent for the githubFeatureVsMaintenance aggregate view; present for the leadTime aggregate view.

timescalestring · enumOptional

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.

Possible values:
unitsone ofRequired

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.

stringOptional
or
get/v1/charts/{metricType}
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"
}

Retrieve drilldown records

get

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.

Authorizations
AuthorizationstringRequired

Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.

Path parameters
metricTypestring · enumRequired

The metric to drill into.

Possible values:
Query parameters
fromstringRequired

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.

Example: 2025-01-01T00:00:00Z
tostringRequired

End 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.

Example: 2025-03-31T23:59:59Z
teamIdsstringOptional

Comma-separated team IDs to filter (mutually exclusive with teamNames, max 50).

teamNamesstringOptional

Comma-separated team names to filter (mutually exclusive with teamIds, max 50).

repositoriesstringOptional

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).

includeSelfiePrsbooleanOptional

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).

Default: false
defaultBranchOnlybooleanOptional

Limit to commits/PRs on default branch only. Only for metrics that list defaultBranchOnly in acceptedQueryParams (GET /v1/metrics; the list_metrics tool in MCP).

Default: false
excludeOrganizationbooleanOptional

Exclude the org-level rollup series from the response. Default false.

Default: false
countBystring · enumOptional

Unit 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).

Possible values:
directionstring · enumOptional

Direction for feedback quality/themes metrics: 'given' (comments the team wrote) or 'received' (comments written on the team's PRs). Default given.

Default: givenPossible values:
prioritiesstringOptional

Comma-separated PagerDuty priority IDs to filter by (PagerDuty metrics only). Use the priority IDs from your PagerDuty configuration.

Example: PY9X4YF,PUA93JS
urgenciesstringOptional

Comma-separated urgency levels to filter by (PagerDuty metrics only). Valid values: high, low.

Example: high,low
groupBystring · enumOptional

How to group the records. Defaults to team. AI metrics support: jobLevel, timezone, aiTool, nonContributors. PagerDuty metrics support: service, escalationPolicy.

Default: teamPossible values:
cursorstringOptional

Opaque pagination cursor from a previous response's nextCursor.

limitnumberOptional

Maximum number of items to return. Default 50, max 100.

Default: 50
Responses
200Success
application/json
metricTypestringRequired

Metric type identifier.

itemsstring[]Required

Raw records for the current page. Shape varies by metric.

nextCursorstringOptional

Cursor to fetch the next page. Absent when there are no more results.

get/v1/charts/{metricType}/drilldown
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"
}

Every chart response includes a units field that gives the unit of its values, such as "hours". Call GET /v1/metrics to see which metrics support drilldown and which optional query parameters each metric accepts.

List AI super-users

get

Returns the top AI coding tool users over the last 28 days.

Authorizations
AuthorizationstringRequired

Authorization: Bearer . A raw token in the Authorization header is also accepted for backward compatibility.

Query parameters
teamIdsstringOptional

Comma-separated team IDs to filter (mutually exclusive with teamNames, max 50).

teamNamesstringOptional

Comma-separated team names to filter (mutually exclusive with teamIds, max 50).

Responses
200

Super-user list.

application/json
itemsPublicSuperUserDto[]Optional
get/v1/super-users
GET /v1/super-users HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Super-user list.

{
  "items": []
}

Models

Last updated

Was this helpful?