API Reference
REST API reference for the Audit Manager — rendered directly from the live OpenAPI 3.1 spec committed to the repo.
CloudEvents v1.0 envelope.
Spec: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md
1.0application/jsonEvent accepted into the ingest queue. The id you submitted is echoed back.
Malformed CloudEvent — failed schema validation (missing required field, invalid outcome enum, unparseable time, etc.).
Service not ready or backpressure.
AUD-004— ingest queue full. Retry with exponential backoff + jitter.AUD-005— service startup not complete.AUD-006— database health check failed (surfaces via/health, but also blocks ingest readiness indirectly).
Batched ingest payload.
All events (or as many as fit before backpressure) accepted. The response echoes accepted ids.
AUD-007 — batch payload exceeds the configured ingest.max_batch_size. Split into smaller batches.
Malformed CloudEvent — failed schema validation (missing required field, invalid outcome enum, unparseable time, etc.).
Service not ready or backpressure.
AUD-004— ingest queue full. Retry with exponential backoff + jitter.AUD-005— service startup not complete.AUD-006— database health check failed (surfaces via/health, but also blocks ingest readiness indirectly).
Service is ready to serve traffic.
Constant — identifies the service that produced this envelope.
openg2p.auditmanagerExample: openg2p.auditmanagerEnvelope schema version (not the service version).
1.0Example: 1.0RFC3339 timestamp at which this response was produced.
2026-04-23T10:00:00.000ZNot ready.
AUD-005— service startup not yet complete.AUD-006— Postgres health check failed.
Version metadata.
Constant — identifies the service that produced this envelope.
openg2p.auditmanagerExample: openg2p.auditmanagerEnvelope schema version (not the service version).
1.0Example: 1.0RFC3339 timestamp at which this response was produced.
2026-04-23T10:00:00.000ZVersion metadata.
Effective configuration snapshot.
Constant — identifies the service that produced this envelope.
openg2p.auditmanagerExample: openg2p.auditmanagerEnvelope schema version (not the service version).
1.0Example: 1.0RFC3339 timestamp at which this response was produced.
2026-04-23T10:00:00.000ZEffective configuration snapshot.
Last updated
Was this helpful?