We are creating build and deploy system with TeamCity as a main component and our custom scripts and web page for deployment. I am trying to figure out how to query the status of a build from an application outside of TeamCity. One way to do it, is to use the externalStatus page (ie, buildwatcher); however, that returns an html page. Is there some way to retrieve a more 'code' friendly messages, such as an xml stream? What interface do external tools (such as Visual Studio plugin) use -- is there a way to use that same mechanism to query and trigger the builds as needed?