Combine the peas, sun-dried tomatoes, and garlic in a food processor. Pulse the machine until the peas and tomatoes are finely chopped. Add the olive oil and pulse until the olive oil is incorporated and the mixture is minced but not yet pureed. Transfer to a small bowl and stir in the salt and pepper.
Serve as a dip with the endive spears alongside.