Skip to main content

ai.aient.instrumentation.pr_merged

Generated from @aient/events. Do not edit this page by hand.
An Aient instrumentation pull request was merged.

Delivery Contract

FieldValue
VisibilityTenant-selectable public event
Topicv1.events.instrumentation
Bounded contextinstrumentation
Sourcehttps://aient.ai/api/organisations/{organisationId}
Subjectinstrumentation/repositories/{repositoryId}/pull-requests
Schema IDsch_01KREWXD59TKP6P4YZBR6ZSDHA
Immutable schemahttps://registry.aient.ai/schemas/sch_01KREWXD59TKP6P4YZBR6ZSDHA.json
Version aliashttps://registry.aient.ai/events/ai.aient.instrumentation.pr_merged/v1.json

Payload Fields

FieldRequiredTypeEnum
agentRolenostring-
mergedAtyesstring-
organisationIdyesstring-
pullRequestNumberyesinteger-
repositoryFullNameyesstring-
repositoryIdyesstring-

Privacy Notes

ID-first customer-facing payload. Do not include secrets, tokens, raw telemetry, prompts, logs, or customer content.

Lifecycle Notes

Emitted after the owning bounded-context state transition commits through its Restate handler.

Compatibility Notes

Backward-compatible schema changes may add optional fields; removing fields, changing field types, or removing enum values requires a new schema revision and migration plan.

Example CloudEvent

{
  "data": {
    "agentRole": "example-agentRole",
    "mergedAt": "2026-04-25T12:00:00.000Z",
    "organisationId": "11111111-1111-4111-8111-111111111111",
    "pullRequestNumber": 1,
    "repositoryFullName": "aient/example",
    "repositoryId": "repository_example"
  },
  "datacontenttype": "application/json",
  "dataschema": "https://registry.aient.ai/schemas/sch_01KREWXD59TKP6P4YZBR6ZSDHA.json",
  "id": "evt_01J8X7AKZP4N6QHF2T1Y3R5VAA",
  "organisationid": "11111111-1111-4111-8111-111111111111",
  "source": "https://aient.ai/api/organisations/11111111-1111-4111-8111-111111111111",
  "specversion": "1.0",
  "subject": "instrumentation/repositories/repository_example/pull-requests",
  "time": "2026-04-25T12:00:00.000Z",
  "type": "ai.aient.instrumentation.pr_merged"
}