Skip to main content

AI Control Center: Azure API Gateway Connections and Custom Headers

Set up an Azure AI connection that sends your gateway's headers through Azure API Management or another gateway.

Written by Sravya Challagundla

An Azure AI connection can carry custom request headers and a custom base path. That lets SmartSuite AI work when your organization reaches its models only through a gateway such as Azure API Management (APIM).

Workspace Administrators set it up in AI Control Center. Every request the AI Field Agent and the AI Workflow Agent send on it carries the headers.

Example: a bank's security team requires every model call to pass through its Azure API Management gateway with a subscription key and a charge code. The SmartSuite Administrator adds an Azure connection with both headers, and the GRC team's field agents use it.

Plan Availability

All plan types.

Permissions

Workspace Administrators set up AI connections. Solution builders pick the connection and never see its headers.

Platform

Web

Related Reading


Why send SmartSuite AI through a gateway?

Many security teams require every model call to pass through a governed gateway. The gateway logs, limits and charges back AI traffic, and it refuses requests without the headers it expects. Gateways usually:

  • Sign in with their own header, such as Ocp-Apim-Subscription-Key, instead of a provider key.

  • Require extra headers for cost or approval, such as a charge code or an approval group.

  • Use their own path in front of the usual Azure OpenAI route.

A standard Azure connection has three settings: API key, Endpoint and API version. Enable Custom Connection adds the gateway settings: the base path, the custom headers and, if the gateway cannot list its models, the deployment name.

Once saved, a gateway connection works like any other. It appears in the connection list for the AI Workflow Agent and the AI Field Agent, and its usage shows in Used In and Activity History.


Setting up the connection

You need the Administrator role, your gateway's endpoint and API version, and the headers it requires.

  1. In Workspace Administration, open AI Control Center, then Providers and Models.

  2. Add a new connection and select the Azure AI provider.

  3. Check Enable Custom Connection. The gateway settings appear.

  4. Enter your gateway's Endpoint and API version.

  5. Optional: if your gateway adds a path before the standard Azure OpenAI route, enter it in Base path, such as /genai/azure.

  6. Choose an API route: Chat Completions for most gateways, or Responses API only when your gateway routes /v1/responses.

  7. Select your model. If the gateway cannot list its models, type the exact deployment name in Deployment name instead.

  8. Fill in API key only if your gateway also expects a standard Azure key. Leave it blank when a header signs in.

  9. Under Custom Headers, select Add header for each header and enter its Header name and Header value.

  10. Turn on Secret for any header value that is a credential.

  11. Fill in the name, description and Internet access as for any connection.

  12. Test the connection. SmartSuite sends a test prompt through your gateway. Any successful response is a pass.

  13. Choose the solutions and features that can use it, then select Add Connection.

Note: The endpoint must be an https:// address reachable from the public internet. SmartSuite cannot reach gateways on private or internal addresses.


Custom header rules

Each header row has a name, a value, a Secret toggle and a remove control.

  • Header names use only letters, numbers and hyphens, are unique in the connection, and are up to 128 characters.

  • Header values are up to 1,024 characters. Empty rows are ignored when you save.

  • Secret turns on by itself for headers named Ocp-Apim-Subscription-Key, Authorization, api-key or x-api-key. You can change it for any header.

  • Secret values are encrypted and masked, like API keys. Later edits show only a partial preview, and the value stays unless you type a new one.

  • Other values, such as a charge code, show in plain text and can be edited.

Custom headers and the base path exist on the Azure connection type only.


When a test is required

A test is required when you create the connection. It is required again when you change the endpoint, base path, headers or API route, or turn Enable Custom Connection on or off. If the test does not pass, the gateway's response shows so you can fix your values.

Tip: If the gateway later refuses requests, for example because a subscription key expired, the connection is marked invalid and Administrators get an email. Update the header value and test again.


Common gateway setups

  • The gateway signs in with a subscription key: leave API key blank, add Ocp-Apim-Subscription-Key as a header, and keep Secret on.

  • Cost and approval headers: add each as a header with Secret off. Every request on the connection carries them.

  • The gateway routes Chat Completions only: set API route to Chat Completions and test.

  • The gateway does not list its models: type the exact deployment name in Deployment name, then test.

In the bank example, the connection has Ocp-Apim-Subscription-Key with Secret on and the charge code with Secret off.

Watch: AI Platform: Support for Azure API Gateway (1 min) shows the custom connection setting and the fields it adds.


Frequently asked questions

Can I add custom headers to an OpenAI or Anthropic connection?

No. Custom headers and the base path exist on the Azure connection type only.

Who can see the header values after I save?

Secret values are encrypted and masked; an Administrator who edits the connection sees only a partial preview. Solution builders never see any header.

Do I need an Azure API key when my gateway uses a subscription key?

No. Leave API key blank and add the subscription key as a header with Secret on. Fill in API key only if the gateway also expects one.

Why is the model list empty?

The gateway cannot return its deployed models. Type the exact deployment name in Deployment name and test the connection.

Need more help? Ask the SmartSuite Community, where builders, administrators and the SmartSuite team answer questions about building on SmartSuite. For your account, billing or data, select the chat button in the lower-right corner of SmartSuite to reach support.

Last verified 1 Nov 2026.

Did this answer your question?