added API endpoints for PEPs