@@ -323,7 +323,100 @@ The following user-teams report examples are returned by the `user-teams-1-day`
323323The following repository-level report example is returned in the NDJSON files downloaded from the ` repos-1-day ` endpoints. Each row represents one repository with pull request activity on the requested day. Both enterprise- and organization-scoped rows populate ` organization_id ` (the organization that owns each repository). Enterprise-scoped rows also populate ` enterprise_id ` , and organization-scoped rows populate ` enterprise_id ` only for organizations owned by an enterprise. For the field reference, see [ AUTOTITLE] ( /copilot/reference/copilot-usage-metrics/copilot-usage-metrics#repository-level-fields-api-only ) .
324324
325325``` json copy
326- {"day" :" 2026-07-14" ,"enterprise_id" :" 1001" ,"organization_id" :" 2002" ,"repo_id" :900000001 ,"repo_owner_name" :" octodemo-metrics" ,"repo_name" :" example-service-alpha" ,"repo_visibility" :" INTERNAL" ,"pull_requests" :{"total_reviewed" :1 ,"total_created" :1 ,"total_created_by_copilot" :1 ,"total_reviewed_by_copilot" :1 ,"total_merged" :1 ,"median_minutes_to_merge" :372.62 ,"total_suggestions" :0 ,"total_applied_suggestions" :0 ,"total_merged_created_by_copilot" :1 ,"median_minutes_to_merge_copilot_authored" :372.62 ,"total_copilot_suggestions" :0 ,"total_copilot_applied_suggestions" :0 ,"total_merged_reviewed_by_copilot" :1 ,"median_minutes_to_merge_copilot_reviewed" :372.62 ,"copilot_suggestions_by_comment_type" :[]}}
327- {"day" :" 2026-07-14" ,"enterprise_id" :" 1001" ,"organization_id" :" 2002" ,"repo_id" :900000003 ,"repo_owner_name" :" octodemo-metrics" ,"repo_name" :" example-service-gamma" ,"repo_visibility" :" INTERNAL" ,"pull_requests" :{"total_reviewed" :1 ,"total_created" :0 ,"total_created_by_copilot" :0 ,"total_reviewed_by_copilot" :1 ,"total_merged" :1 ,"median_minutes_to_merge" :1020.53 ,"total_suggestions" :0 ,"total_applied_suggestions" :1 ,"total_merged_created_by_copilot" :0 ,"total_copilot_suggestions" :0 ,"total_copilot_applied_suggestions" :1 ,"total_merged_reviewed_by_copilot" :1 ,"median_minutes_to_merge_copilot_reviewed" :1020.53 ,"copilot_suggestions_by_comment_type" :[{"comment_type" :" spelling" ,"total_copilot_suggestions" :0 ,"total_copilot_applied_suggestions" :1 }]}}
328- {"day" :" 2026-07-14" ,"organization_id" :" 3003" ,"enterprise_id" :" " ,"repo_id" :900000010 ,"repo_owner_name" :" octodemo-metrics" ,"repo_name" :" example-service-delta" ,"repo_visibility" :" PRIVATE" ,"pull_requests" :{"total_reviewed" :1 ,"total_created" :0 ,"total_created_by_copilot" :0 ,"total_reviewed_by_copilot" :1 ,"total_merged" :2 ,"median_minutes_to_merge" :1332.96 ,"total_suggestions" :1 ,"total_applied_suggestions" :2 ,"total_merged_created_by_copilot" :1 ,"median_minutes_to_merge_copilot_authored" :1329.47 ,"total_copilot_suggestions" :1 ,"total_copilot_applied_suggestions" :2 ,"total_merged_reviewed_by_copilot" :2 ,"median_minutes_to_merge_copilot_reviewed" :1332.96 ,"copilot_suggestions_by_comment_type" :[{"comment_type" :" documentation" ,"total_copilot_suggestions" :1 ,"total_copilot_applied_suggestions" :1 },{"comment_type" :" spelling" ,"total_copilot_suggestions" :0 ,"total_copilot_applied_suggestions" :1 }]}}
326+ [
327+ {
328+ "day" : " 2026-07-14" ,
329+ "enterprise_id" : " 1001" ,
330+ "organization_id" : " 2002" ,
331+ "repo_id" : 900000001 ,
332+ "repo_owner_name" : " octodemo-metrics" ,
333+ "repo_name" : " example-service-alpha" ,
334+ "repo_visibility" : " INTERNAL" ,
335+ "pull_requests" : {
336+ "total_reviewed" : 1 ,
337+ "total_created" : 1 ,
338+ "total_created_by_copilot" : 1 ,
339+ "total_reviewed_by_copilot" : 1 ,
340+ "total_merged" : 1 ,
341+ "median_minutes_to_merge" : 372.62 ,
342+ "total_suggestions" : 0 ,
343+ "total_applied_suggestions" : 0 ,
344+ "total_merged_created_by_copilot" : 1 ,
345+ "median_minutes_to_merge_copilot_authored" : 372.62 ,
346+ "total_copilot_suggestions" : 0 ,
347+ "total_copilot_applied_suggestions" : 0 ,
348+ "total_merged_reviewed_by_copilot" : 1 ,
349+ "median_minutes_to_merge_copilot_reviewed" : 372.62 ,
350+ "copilot_suggestions_by_comment_type" : []
351+ }
352+ },
353+ {
354+ "day" : " 2026-07-14" ,
355+ "enterprise_id" : " 1001" ,
356+ "organization_id" : " 2002" ,
357+ "repo_id" : 900000003 ,
358+ "repo_owner_name" : " octodemo-metrics" ,
359+ "repo_name" : " example-service-gamma" ,
360+ "repo_visibility" : " INTERNAL" ,
361+ "pull_requests" : {
362+ "total_reviewed" : 1 ,
363+ "total_created" : 0 ,
364+ "total_created_by_copilot" : 0 ,
365+ "total_reviewed_by_copilot" : 1 ,
366+ "total_merged" : 1 ,
367+ "median_minutes_to_merge" : 1020.53 ,
368+ "total_suggestions" : 0 ,
369+ "total_applied_suggestions" : 1 ,
370+ "total_merged_created_by_copilot" : 0 ,
371+ "total_copilot_suggestions" : 0 ,
372+ "total_copilot_applied_suggestions" : 1 ,
373+ "total_merged_reviewed_by_copilot" : 1 ,
374+ "median_minutes_to_merge_copilot_reviewed" : 1020.53 ,
375+ "copilot_suggestions_by_comment_type" : [
376+ {
377+ "comment_type" : " spelling" ,
378+ "total_copilot_suggestions" : 0 ,
379+ "total_copilot_applied_suggestions" : 1
380+ }
381+ ]
382+ }
383+ },
384+ {
385+ "day" : " 2026-07-14" ,
386+ "organization_id" : " 3003" ,
387+ "enterprise_id" : " " ,
388+ "repo_id" : 900000010 ,
389+ "repo_owner_name" : " octodemo-metrics" ,
390+ "repo_name" : " example-service-delta" ,
391+ "repo_visibility" : " PRIVATE" ,
392+ "pull_requests" : {
393+ "total_reviewed" : 1 ,
394+ "total_created" : 0 ,
395+ "total_created_by_copilot" : 0 ,
396+ "total_reviewed_by_copilot" : 1 ,
397+ "total_merged" : 2 ,
398+ "median_minutes_to_merge" : 1332.96 ,
399+ "total_suggestions" : 1 ,
400+ "total_applied_suggestions" : 2 ,
401+ "total_merged_created_by_copilot" : 1 ,
402+ "median_minutes_to_merge_copilot_authored" : 1329.47 ,
403+ "total_copilot_suggestions" : 1 ,
404+ "total_copilot_applied_suggestions" : 2 ,
405+ "total_merged_reviewed_by_copilot" : 2 ,
406+ "median_minutes_to_merge_copilot_reviewed" : 1332.96 ,
407+ "copilot_suggestions_by_comment_type" : [
408+ {
409+ "comment_type" : " documentation" ,
410+ "total_copilot_suggestions" : 1 ,
411+ "total_copilot_applied_suggestions" : 1
412+ },
413+ {
414+ "comment_type" : " spelling" ,
415+ "total_copilot_suggestions" : 0 ,
416+ "total_copilot_applied_suggestions" : 1
417+ }
418+ ]
419+ }
420+ }
421+ ]
329422```
0 commit comments