API endpoint documentation