← API reference
CANONICAL TYPE REFERENCE

OpenAIConfiguration

OpenAI adapter configuration as stored, minus the API key. The key is write-only and is reported only by AIAdapterOutput.hasApiKey.

OpenAI organization ID billed for requests, if one was set.

baseURLString

Base URL requests are sent to. Null means OpenAI's own endpoint; a value points the adapter at a compatible gateway or proxy.

Model used for chat sessions when the caller names none.

Model used for code sessions when the caller names none.

Model used for one-shot completions when the caller names none.

View exact SDL
"""
OpenAI adapter configuration as stored, minus the API key. The key is write-only and is reported only by `AIAdapterOutput.hasApiKey`.
"""
type OpenAIConfiguration {
  """OpenAI organization ID billed for requests, if one was set."""
  organizationId: String
  """
  Base URL requests are sent to. Null means OpenAI's own endpoint; a value points the adapter at a compatible gateway or proxy.
  """
  baseURL: String
  """Model used for chat sessions when the caller names none."""
  defaultChatModel: String
  """Model used for code sessions when the caller names none."""
  defaultCodeModel: String
  """Model used for one-shot completions when the caller names none."""
  defaultCompletionModel: String
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.