Accessing custom Action GPTs from APIs or outside apps

I have created my own custom GPT with some knowledge inside for image object detection, which is working fine, now I want to connect it from my local python app. Is there any way to talk to custom action gpts from other apps or APIs?