curl --request POST \
--url https://{server-url}/openai/creds/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"apiKey": "<string>",
"name": "<string>"
}'
curl --request POST \
--url https://{server-url}/openai/creds/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"apiKey": "<string>",
"name": "<string>"
}'
Your authorization key header
Name of the instance
Configuration for the OpenAI bot instance
The body is of type object
.