Skip to main content
GET
Get a repository's merge train lead time

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

repository_id
string<uuid>
required

Response

The lead time per window.

How long the repository's merged pull requests took from ready (admitted to the merge train, or un-drafted if later) to production, per window.

repository_id
string<uuid>
required
repository
string
required

owner/name.

deploy_signal
enum<string> | null
required

What the most recent record read as production: a deploy workflow run concluding (github_workflow) or the platform's deploy job succeeding on a production cluster (platform_deploy). Null while nothing is recorded.

Available options:
github_workflow,
platform_deploy,
null
deploy_signal_is_proxy
boolean | null
required

True when the signal is a deploy concluding rather than the workload rolling. Null with deploy_signal.

windows
object[]
required

The last day, then the last week.

summary_lines
string[]
required

One line per window as a person reads it: p50, p90, n, the merges not deployed or not recorded yet, and the slowest pull requests with the segment that held each up.