List or stream change events (repo_id addressing)
Accepted credentials: User token, Plugin installation token.
Returns trail events by opaque repo id with the same JSON cursor pagination, category filters, open event catalog, Last-Event-ID SSE resume, and from=head latest-push start as the name-addressed route.
Use an own-account bearer token (including supported service accounts) or a Core-issued plugin installation bearer token, subject to the permissions and restrictions below. Plugin assertion JWTs and plugin OAuth user-delegation tokens are not accepted here.
Requires live repository pull permission (contents:read for plugin installations). Other authorized automation principals can also use this operation. Trails must be enabled. Send requests to the repository’s primary API region. Streams recheck credentials, repository access and placement.
Headers
Query Parameters
head starts at the trail's latest push instead of the first event. For SSE, Last-Event-ID and after take precedence, since they resume a stream; the ready frame reports the start, head_sha and latest_event_id. For JSON pages it starts the first page (empty when the push has no events yet), is mutually exclusive with cursor and after, and the body carries no start metadata: a trail with no head pages the full log.
head