Setting api key in a JSON schema for a GPT

I have a working Action schema for a GPT I created. I need in that schema to pass an API KEY to the server specified in the JSON schema but I am not sure how to do this. The REST API on the server requires a request body. I am using a "schema " definition inside the JSON to define the key required variables in the body, one of them being the api_key.

I tried using the push button Authentication API Key in the OpenAI interface under “Configure” but this is not working, since it will not include the api_key in the request body for the server in Test.

1 Like