Although the Collaboratory.Lab does not have an API (As their is currently no use for it), you can access various other services via their API from the notebooks.