MuleSoft AI Gateway metering¶
MuleSoft AI Gateway and Agent Fabric supply centralized token-metering rows for AI inference traffic routed through MuleSoft.
Release state
This guide documents the read-only mulesoft connector implemented in the
platform connector surface.
Required access¶
Grant read-only scopes:
| Scope | Purpose |
|---|---|
AnypointPlatform.Read |
Read Anypoint platform context. |
AIGateway.Metering.Read |
Read AI Gateway token metering rows. |
AgentFabric.Read |
Read Agent Fabric context. |
Do not grant API deployment, policy mutation, or gateway administration scopes.
Setup¶
- Create a dedicated Anypoint integration identity.
- Grant only the read-only scopes above.
- Store the token reference in Venturi.
- Set
ARGMIN_MULESOFT_LOOKBACK_DAYSif you need a poll window other than 30 days. - In Venturi, open Administration -> Connectors -> MuleSoft AI Gateway and run Test connection.
Verification¶
- Gateway metering rows appear for the expected gateway identifiers.
- Token counts are normalized with source
mulesoft_ai_gateway_metering_api. - Upstream read failures return no rows rather than interrupting customer traffic.
Rotation and offboarding¶
Rotate the Anypoint credential through MuleSoft administration. Removing the connector stops new MuleSoft AI Gateway metering syncs.