Fix a small typo in api.py

Change 'choosen' to 'chosen'

Change-Id: I07d420c2c2cddbb5d5eeb9a25f172f775d598fec
Merge "Fix a small typo in api.py"