# Bazel Build Event Protocol

**Canonical:** https://apis.io/apis/bazel-build/bazel-build-event-protocol/  
**Provider:** Bazel — https://apis.io/providers/bazel-build/  
**Documentation:** https://bazel.build/remote/bep

Bazel Build Event Protocol is one of 6 APIs that [Bazel](https://apis.io/providers/bazel-build/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include BEP, BES, Build Events, Observability, and Streaming. The published artifact set on APIs.io includes API documentation.

The Build Event Protocol (BEP) is Bazel's structured stream of build events — target configured, progress, test results, action executed, build finished — emitted during every invocation. BEP can be written to a local file (--build_event_json_file / --build_event_binary_file) or streamed via gRPC to a Build Event Service (BES) backend for build observability, flake analysis, and CI dashboards.

## Machine-readable artifacts (3)

- **Documentation** — https://bazel.build/remote/bep
- **Documentation** — https://bazel.build/remote/bep-examples
- **ProtocolBuffer** — https://github.com/bazelbuild/bazel/blob/master/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto

## Other Bazel APIs (5)

- [Bazel Command Line Interface](https://apis.io/apis/bazel-build/bazel-cli/)
- [Bazel Starlark Build API](https://apis.io/apis/bazel-build/bazel-starlark-api/)
- [Bazel Remote Execution API](https://apis.io/apis/bazel-build/bazel-remote-execution-api/)
- [Bazel Modules API](https://apis.io/apis/bazel-build/bazel-build-modules-api/)
- [Bazel Registry API](https://apis.io/apis/bazel-build/bazel-build-registry-api/)

## Tags

BEP, BES, Build Events, Observability, Streaming

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/bazel-build/bazel-build-event-protocol/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/bazel-build/.
