You reminded me: I discovered that ChatGPT had invented an API for me. Has that happened to you yet?
Since it went to the trouble of writing code for the API as well, I contacted the API developers to follow up about the topic. The code given was kind of a hand-wave anyway so I'd need to polish it up.
The developers were surprised to hear they had an API. In truth, there was no such thing.
I then found myself in one of those awkward "welp, guess I can keep my job" conversations...good for them, but for me: Go home, no API here. A disappointment with some meta-commentary sprinkled on top.