Skip to content

Validation

lib/validation-schemas.ts

  • IngestPayloadSchema: strict v1 ingest shape (single run) including projectId and telemetry fields.
  • Prefer the route‑local schema in /api/ingest that supports both v1 and v2 shapes; this file can support internal validation or tests.

See also: ../api/ingest.md