API Reference
Log In
API Reference

Get VCS PRs/MRs by team member

Returns merged PR/MR counts grouped by platform login for the organization, filtered by VCS source (github or gitlab). With granularity=day, returns one row per (login, calendar day) instead of a single per-login total; days are UTC calendar dates (the underlying metric_date has no time component) and are zero-filled for logins with at least one merged PR in range, so quiet days are returned as 0 rather than omitted. Days older than the trailing ~30-day sync window are frozen at their last sync and may miss late-recorded activity; day-level history exists from the org's first sync onward. granularity=day is capped at 35 days per request; use granularity=window for longer ranges. granularity=week or month returns one row per (login, bucket) instead, zero-filled per bucket rather than per day; weeks are ISO-8601 (Monday start) and months are calendar months, both in UTC. week and month are capped at 400 days per request.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

VCS source: github or gitlab

date
required

Start date (ISO yyyy-MM-dd)

date
required

End date (ISO yyyy-MM-dd)

string
Defaults to window

Aggregation granularity: 'window' (default) returns one row per platform login totalled across the date range; 'day' returns one row per platform login per UTC calendar day (zero-filled for quiet days), capped at 35 days per request; 'week' and 'month' return one row per platform login per bucket (ISO week starting Monday, or calendar month), zero-filled per bucket, capped at 400 days per request. Days older than the trailing ~30-day sync window are frozen at their last sync.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*