← All articles

Provider API in APEX 26.2: Responses, Interactions and What the Upgrade Switches for You

APEX 26.2 adds a Provider API setting to Generative AI Services. Responses becomes the default for OpenAI, Ollama and OpenAI-compatible services, Interactions for Gemini, and Chat Completions is deprecated. Here is which services the upgrade migrates, which it leaves alone, and how to test the switch.

AI-readable summary

Oracle APEX 26.2 adds a Provider API setting in the Advanced section of Generative AI Services for OpenAI, Ollama, Generic (OpenAI API Compatible), OCI Generative AI and Google Gemini. APEX uses it to select the endpoint, build the request payload and interpret the response. Responses is the new default for OpenAI, Ollama and Generic services, with Chat Completions deprecated; Interactions is the new default for Gemini, with Generate Text deprecated; OCI Generative AI keeps Generic as its default and also offers Responses, which needs a Project ID. Anthropic, Mistral AI and Cohere get no Provider API selection. On upgrade or legacy import, OpenAI and Gemini services without custom Additional Attributes or HTTP Headers move to Responses and Interactions automatically, Oracle's blog says Generic and Ollama services without Additional Attributes are also eligible, services with custom Additional Attributes keep the legacy API, and OCI services stay on Generic. Oracle recommends the newer APIs because future capabilities may only arrive there; Reasoning Effort for OpenAI requires Responses. Confirm the endpoint supports the API, then test every service.

The short version

Every Generative AI Service in APEX 26.2 has a new field under Advanced: Provider API. It quietly decides how APEX talks to the model.

  • New defaults. Responses for OpenAI, Ollama and OpenAI-compatible services. Interactions for Google Gemini. Generic for OCI Generative AI.
  • Deprecated. Chat Completions, and Gemini’s Generate Text. Both still work in 26.2.
  • The upgrade. Switches eligible services for you. Services with custom Additional Attributes keep their old API.
  • Why bother. Oracle says future capabilities “might only be available through the newer API”. Reasoning Effort for OpenAI already needs Responses.

What the setting does

From the release notes: “APEX uses this setting to select the provider endpoint, construct the appropriate request payload, and interpret the response.” Same prompt, same agent, different wire protocol. Oracle’s blog shows the path: open the service under Workspace Utilities > Generative AI Services, then set Provider API under Advanced.

Table of providers. OpenAI, Generic OpenAI compatible and Ollama offer Responses as default and Chat Completions as deprecated. OCI Generative AI offers Generic as default and Responses, which needs a Project ID. Google Gemini offers Interactions as default and Generate Text as deprecated. Anthropic, Mistral AI and Cohere have no Provider API selection. A third column says what the upgrade does for each
Five providers get the setting. Three keep their existing integration.

The choices per provider

Provider Default for new services Other choice
OpenAI Responses Chat Completions (deprecated)
Generic (OpenAI API Compatible) Responses Chat Completions (deprecated)
Ollama Responses Chat Completions (deprecated)
OCI Generative AI Generic Responses (needs a Project ID)
Google Gemini Interactions Generate Text (deprecated)

For OCI, Oracle’s blog explains why Generic stays the default: “API support varies by model.” Anthropic Claude, Mistral AI and Cohere keep their existing integrations with no Provider API selection.

What the upgrade does to existing services

The release notes give the core rule: “On upgrade or legacy application import, OpenAI and Google Gemini services without custom Additional Attributes or HTTP Headers are automatically migrated to Responses and Interactions respectively.” Oracle’s blog adds the rest:

  • Generic OpenAI compatible and Ollama services without Additional Attributes “are also eligible for an automatic change to Responses.”
  • Services with custom Additional Attributes keep the legacy API selection.
  • OCI Generative AI services stay on Generic. Compartment, model and serving mode move out of Additional Attributes into service properties, and remaining custom attributes are preserved.
Decision tree for an existing service after the upgrade. OCI Generative AI stays on Generic with model, compartment and serving mode moved to properties. Anthropic, Mistral and Cohere have nothing to choose. OpenAI or Gemini without custom attributes or headers are switched to Responses or Interactions, otherwise they keep the deprecated API. Generic or Ollama without Additional Attributes are eligible for Responses, otherwise they stay on Chat Completions
The services that were customized are exactly the ones the upgrade leaves on the old API.

Notice the pattern. The services someone tuned by hand, with extra attributes or headers, are the ones still on a deprecated API after the upgrade. They are usually also the important ones.

Switching a service by hand

  1. Check the endpoint first. Oracle’s advice: “Before selecting Responses, confirm that your endpoint supports it.” That matters most for self-hosted Ollama and OpenAI-compatible gateways.
  2. Leave the Base URL alone. For OpenAI, “APEX appends the request path to the Base URL, so do not add /responses to that field.” For OCI, the regional base URL does not need /openai/v1 appended.
  3. Review custom Additional Attributes. They were written for the old payload. Keep what still applies to the new API and test the rest.
  4. OCI and Responses. Enter the Project ID, which is required for Responses, and confirm the model is available in your region.
  5. Test Connection, then a real prompt. Then exercise every agent that uses the service, including tools and any Reasoning Effort level.

Why we would not stay on Chat Completions

Deprecated features keep working until they do not. Oracle states the direction plainly: use the newer API “because future provider and APEX capabilities might only be available through the newer API”. The first example is already here: in Oracle’s blog, Reasoning Effort for OpenAI runs through Responses. Our Reasoning Effort guide covers the levels.

Switching one service at a time, in a test workspace, is a small job. Switching all of them in a hurry when a provider retires an endpoint is not.

A short checklist

  • Every Generative AI Service listed, with its Provider API after the upgrade
  • Services with custom Additional Attributes or HTTP Headers flagged for a manual switch
  • Self-hosted endpoints checked for Responses support before switching
  • OCI services on Responses given a Project ID
  • Test Connection plus one real prompt per service
  • Agents retested, including Reasoning Effort levels

Upgrades with AI services in them are part of what we run on nwavecloud Cloud Hosting. See the plans page and our APEX 26.2 upgrade checklist.

Bottom line

Provider API is a one-field change with a long tail. The upgrade handles the simple services. The customized ones need a person, a test workspace and a prompt that matters.

FAQ

Where is the Provider API setting?

In the Advanced section of each Generative AI Service, under Workspace Utilities > Generative AI Services.

Is Chat Completions removed in APEX 26.2?

No. It is deprecated and still selectable for compatibility. Oracle recommends the newer API where the provider and model support it.

Which services does the upgrade switch automatically?

OpenAI and Gemini services without custom Additional Attributes or HTTP Headers. Oracle’s blog says Generic and Ollama services without Additional Attributes are also eligible for Responses. OCI services stay on Generic.

Does OCI Generative AI need anything extra for Responses?

Yes, a Project ID, which is required when the Provider API is Responses.

Do Anthropic, Mistral and Cohere services change?

No. They have no Provider API selection and keep their existing integration.

Sources