batchEventRequestSchema
constbatchEventRequestSchema:ZodObject<{events:ZodArray<ZodObject<{eventId:ZodUUID;occurredAtUs:ZodString;payload:ZodUnknown;stream:ZodString; },$strict>>; },$strict>
Defined in: packages/contracts/src/events.ts:70
The POST /api/events body. A request failing this parse — or exceeding the request-shape limits — is a
batch-level 400/413: a malformed item without a parseable eventId cannot receive a per-event verdict.
That layer is unreachable through the library (appends are validated, envelopes are library-built); it
exists for library bugs and non-library callers.