OpenAI


An OpenAI API key is saved under the program ID "ChatGPT". The API sends it as a bearer token to OpenAI's chat completions endpoint, "https://api.openai.com/v1/chat/completions", so it must be an OpenAI key. No other AI provider's key is read.

In Operator it is the "ChatGPT" field of the Third Party Keys panel. You can read about the record and its requests in Third party keys.

What it powers

AI actions other than Ask Nextspace use this key. These include AI suggested Data Transforms, AI suggested Data Mappings and Document View hot-spot detection.

Embeddings and the Entity summaries made while generating them run on separate self-hosted services configured for the deployment, and do not use this key.

Set the key

Set the OpenAI key

Response
// The response is the saved Program Key record.
Javascript example