Changelog

Improve Referral Create Validation

  • referral.create now uses schema-backed request validation, returning clearer invalid_input messages when required fields are missing or malformed. The polymorphic fieldSubmissions[].value is intentionally unconstrained at the request boundary and continues to be validated per field type by the existing handler logic.

Improve API Key Info Validation

  • apiKey.info now uses the same request validation and OpenAPI schema generation as other recently migrated endpoints, providing clearer validation errors for malformed requests.