Building the API operating environment