Custom GPT instructions as code

Its a bit difficult to understand, but I believe you’re asking how to call custom GPTs through the API?

If that is the case, the simple answer is you can’t.

What you can do though is call an assistant through the assistants API.