api: add keg/end/ and keg-sizes/