Short answer
Fresh snap peas are safe, but mouldy ones pose a different risk. Mould can produce mycotoxins that may cause vomiting, diarrhea, or tremors in dogs, especially if a large amount was consumed. Remove any remaining spoiled peas and offer your dog plenty of fresh water. Monitor closely for the next 24 hours for signs of stomach upset, lethargy, or unusual behavior, and contact your vet if you see any of these symptoms.
Snap peas — Food safety facts
Safe to share · Dogs · full breakdown on the linked food page
A few pods are fine. They are a choking risk for small pets.
The full verdict, portion guidance and serving notes are collected on the Snap peas food facts page.