docs: add docs for the new api.