Hello, Sukhman!
Thank you for your quick response to my question.
The API key is provided by a third party. I want to access their API service, so I have set up a new action. I have specified the API key (which I received from the API-operator (3rd party)) via the credentials field in the GPT action.
The NASA API - that I find very interesting by the way, thanks for the tip - works perfectly.
What I did (NASA API)
I obtained an API key
I fetched the URL for the “image of the day”
I copied a demo API response
In ChatGPT I requested a JSON schema for the given URL and demo-response
I created a new GPT and entered JSON and the API key
→ Works!
I tried the exact same thing in my “Keyword API GPT”.
schema (URL and sample data from a response)
entered the API key
The GPT is now saying: “To query the search volume for a keyword, please enter the keyword and your API key. Optionally, you can also enter a country for which you would like to receive specific data.”
The API key is completely ignored.
I have added a screenshot of the key configuration.
Hi Sukhman!
I’m pretty sure: my tests with the NASA API were useless. How do I know?
Well: There is a demo API key for the NASA API Picture of the Day. This means you will always get a result if you contact the API via Chat GPT Actions - even when no API-key is provided. The GPT does not use the API key, but a demo API key.
So I get a response even if the GPT does not use the API key I entered. Please also have a look at the screenshot I have attached.