API Reference
Log In
API Reference

Preview Team PR Health Digest

What the next weekly digest and rotting alert would say, built exactly as the job builds them; nothing is sent and nothing is saved. Counts come from the action queue with the team's default AI filter and no department. Each cause's estimatedDollars, atRiskDollars and wastedDollars are counts times the cost per pull request over the page's default 90-day window, so this call reads the same cost basis the report does; with no basis (no pull requests or no recorded AI spend) avgCostPerMergedPr and all three are null, never 0. rottingCrossed covers the alert's window: since the last alert, 24 hours when the alert has not run, never more than 7 days. While the saved alert is off the window starts now and lists nothing, because switching the alert on never announces an earlier crossing.

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

ID of the team that owns this data.

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
*/*