Batched RunViews (ResultType: 'count_only') existence check for Source and Target endpoint
records, run as user so an endpoint the caller cannot read (entity permission or row-level
security) is refused exactly like one that does not exist.
Fails closed: an endpoint entity missing from metadata, a failed read, or an exception is a
validation error, never a silent pass.
Batched
RunViews(ResultType: 'count_only') existence check forSourceandTargetendpoint records, run asuserso an endpoint the caller cannot read (entity permission or row-level security) is refused exactly like one that does not exist.Fails closed: an endpoint entity missing from metadata, a failed read, or an exception is a validation error, never a silent pass.