The formal IBM Content Analytics platform provides numerous Application Programming Interfaces (APIs) from which you can create search, analytics, and administration applications; modify crawled documents; filter search results; export documents; set up an identity management component to enforce document-level security; and perform ad hoc text analysis on documents.
These programming interfaces include:
The idea of programming with Watson Analytics is a bit different.