Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideAI & Data Engineering6 min read

Connect an AI governance platform to your API gateway

Policy at the gateway, logs back as evidence

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: Agentic AI Governance & Model Risk
On this page
  1. Why the platform alone does not stop a request
  2. Policy at the gateway
  3. Sending logs back as evidence
  4. Deterministic stops vs model checks
  5. Connection steps
  6. A worked example (illustrative)
  7. Failure modes to test
  8. Ownership of the connection
  9. Questions we hear

An AI governance platform records, assesses and reports, but it does not sit in the path of a request, so it cannot stop one. A gateway does. The sound design is to set hard policy at the gateway, send its logs back to the platform as evidence, and keep model-based checks as a second layer. This guide shows the three pieces and how they connect. It builds on our article on governance in the integration layer and our AI gateway implementation page.

Why the platform alone does not stop a request

Platforms hold the register, assessments, approvals and monitoring results. Even when a platform has a "block" setting, check where it takes effect: in the request path, or as an alert someone must act on. Ask the vendor to show a request being refused on your own sample, not a screenshot.

Policy at the gateway

Put the rules that must always hold at the gateway, where every call passes:

  1. Identity: every call carries a workload or user identity. No identity, no call.
  2. Allowed models: only models in the register, at approved versions.
  3. Data classes: block calls that carry data above the approved sensitivity.
  4. Limits: rate, size and cost caps per application.
  5. Tools: which tools an agent may call, and with what arguments.

Policy in the gateway takes its input from the register: the approved model list and tier of each application. Decide which system is the master. We recommend the register as master for what is approved, and the gateway as master for what happened.

Sending logs back as evidence

The gateway log is the evidence that policy ran. Send to the platform, per call or in daily summaries:

FieldUse as evidence for
Application and ownerWhich register entry made the call
IdentityWho or what was allowed
Model and versionThat only approved models ran
Policy decision and ruleThat the rule fired and which rule
Outcome and timeVolume, blocks and trends
Data classThat sensitive data stayed in bounds

Do not store prompts and outputs in the evidence trail unless a control needs them; if you must, apply retention and access limits. Map each field to a control in the register so a reviewer can follow it. For the register itself, see what a register must hold.

Deterministic stops vs model checks

Check typeExampleStrengthLimit
Deterministic ruleBlock a model not on the listAlways the same result; easy to testCannot judge meaning
Model-based checkClassify a prompt for injectionHandles content and intentCan be wrong; needs measuring
Human reviewApprove a high-impact actionJudgement and accountabilitySlow; sampling only

Use rules for everything that can be a rule, and treat model checks as an extra layer that you measure. See prompt injection controls for AI agents for where each fits. A control that exists only in a prompt is not a control.

Connection steps

  1. List the policies in the register that the gateway must enforce.
  2. Write each as a rule the gateway can run, with a test case.
  3. Send gateway logs to the platform on a schedule, and confirm they arrive.
  4. Compare gateway applications with the register each month.
  5. Test: add an unapproved model and confirm it is refused and the refusal is logged and visible in the platform.
  6. Record the test as evidence.

Related patterns: Azure API Management as an AI gateway and MCP server security.

A worked example (illustrative)

A bank approves an assistant that calls one hosted model. The register lists the model and version, the owner and the allowed data class. The gateway has a rule: calls from this application may reach only this model, carry only data up to "internal", and be at most a set size. One day a developer points the application at a newer model. The gateway refuses the call, logs the rule that fired, and the platform shows a failed policy event against the register entry. The owner either files a change for the new model or reverts. The record of the refusal, the change and the approval is the evidence. Without the gateway rule, the same change would have run until someone noticed it in a monthly review.

Failure modes to test

Test what happens when the log feed stops, when the platform is down, and when the gateway cannot reach the policy source. Decide in advance whether the gateway fails closed or open for each application tier, and record that decision in the register. High tier should fail closed.

Ownership of the connection

Name one owner for the feed between gateway and platform, because feeds fail quietly. Add an alert for the case where the platform has received no gateway logs in a day, and review the alert monthly. The connection is itself a control and belongs in the register.

Questions we hear

Do we need both? If you run AI that makes or shapes decisions in a regulated firm, usually yes. One records, the other enforces.

What if the platform has no connector? Export logs to a store the platform can read, or build a small feed. Do this in the proof, not after.

Duczer East builds the gateway policy and the evidence feed together. See AI gateway implementation.

Related: AI gateway implementation · AI governance platform selection · Governance runs on rails

Frequently asked questions

Why is a governance platform alone not enough to stop a request?

Most platforms record, assess and report. They sit beside the traffic. A gateway sits in front of it and can refuse a call.

What should the gateway log for governance?

Caller identity, application, model, time, policy decision and outcome, without storing sensitive content unless you must.

Which checks should be deterministic?

Access, allowed models, data classes, rate and size limits. Rules that must always hold should not depend on a model's judgement.

Can the platform push policy to the gateway?

Some can through connectors. Check this in a proof, and decide which system holds the master copy.

Where do model-based checks fit?

As a second layer for content that rules cannot judge, with their results logged like any other decision.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote