How to find custom model's model id?

I have a custom model in my ‘shared with me’ location. I need to integrate with API by openai library. I used gpt 3.5 turbo for the first time. Now I need to know how to find my custom model ID.