Fixed type in api index.