Civi version 4.6.3.
When I access the API, it loads but with errors related to the examples.
This is an IIS server.
Warning: scandir(C:\inetpub\wwwroot\sites\all\modules\civicrmapi/v3/examples,C:\inetpub\wwwroot\sites\all\modules\civicrmapi/v3/examples): The system cannot find the path specified. (code: 3) in CRM_Admin_Page_APIExplorer->run() (line 55 of C:\inetpub\wwwroot\sites\all\modules\civicrm\CRM\Admin\Page\APIExplorer.php).
Warning: scandir(C:\inetpub\wwwroot\sites\all\modules\civicrmapi/v3/examples): failed to open dir: No such file or directory in CRM_Admin_Page_APIExplorer->run() (line 55 of C:\inetpub\wwwroot\sites\all\modules\civicrm\CRM\Admin\Page\APIExplorer.php).
Warning: scandir(): (errno 2): No such file or directory in CRM_Admin_Page_APIExplorer->run() (line 55 of C:\inetpub\wwwroot\sites\all\modules\civicrm\CRM\Admin\Page\APIExplorer.php).
Warning: Invalid argument supplied for foreach() in CRM_Admin_Page_APIExplorer->run() (line 55 of C:\inetpub\wwwroot\sites\all\modules\civicrm\CRM\Admin\Page\APIExplorer.php).
There appears to be a missing slash in the warnings between the civicrm and api folders.
If I edit APIExplorer.php and add either \
or \/
the error goes away.