πŸ” Fetch AI build failure summaries via the API

When a build fails, Bitrise is able to generate an AI-powered summary that explains what went wrong and why. You can now retrieve that summary programmatically via the API β€” so you can bring the insight directly into the tools your team already uses, without anyone having to open the Bitrise UI.

Available on all plans that support the AI Build Summary feature.


What’s New

GET /builds/{build-slug}/ai-summary

A new API endpoint that returns the AI-generated failure summary for a completed build. The endpoint is read-only and works with your existing API token.

Check out the build section of the API documentation to find out how to implement it.


The Problem

When a build fails, the information that explains why is only available inside the Bitrise UI. For teams running high build volumes, that means context-switching: someone gets a Slack notification, navigates to the PR, opens Bitrise, reads the logs, and only then understands what broke. That loop is slow β€” and for on-call engineers or automated triage workflows, it’s a real bottleneck.


What You Can Build With This

  • Slack notifications with failure context β€” enrich your existing failure alerts with the AI summary so engineers get the β€œwhat broke and why” without leaving Slack
  • Bitrise workflow steps β€” call the endpoint as a post-build step to route, label, or escalate failures based on the summary content
  • Internal dashboards β€” aggregate and display failure summaries across builds to spot patterns
  • CI triage bots β€” feed the summary into your own tooling or LLM pipeline for automated root-cause classification

Getting Started

  1. Enable AI Build Summary on your app β€” the endpoint returns 404 until this is active. AI Build Summary β€” Bitrise Docs β€” how to enable the feature in Project Settings
  2. Call the endpoint after a build fails:
GET https://api.bitrise.io/v0.1/builds/{build-slug}/ai-summary
  1. Use the response wherever it’s most useful β€” Slack, your dashboard, a workflow step.

Happy debugging :waving_hand:

1 Like