Fix setting api in api explorer