Add initial API docs

[ci skip]