Technical Guide

Using AI Usage Logs to Detect Models and AI Endpoints Missing from an Enterprise Model Inventory

To find models missing from your inventory, compare observed model calls in runtime logs (gateway, proxy, provider, cloud, identity, and agent tool-call logs) against registered records. Match on model identifier, endpoint, caller identity, and owner, and treat every unmatched combination as a review item. Logs only show traffic that passes through logged paths, so log-based discovery is one control, not a complete census.

Why inventories drift from what is actually running

An inventory lists the approved models and services that have been registered, each with a named owner and policies. Runtime logs record what is actually being called. When a model call appears in the logs with no matching inventory record, the inventory has drifted from what is running.

The table below summarizes the four elements of log-based reconciliation.

Log-based reconciliation at a glance
ElementDescription
Observed usageModel, endpoint, caller, and credential taken from runtime logs.
Registered inventoryApproved models and services with named owners and policies.
Unmatched findingsObserved usage with no corresponding inventory record.
Resolution evidenceA recorded decision to register, restrict, or block each finding.

Log sources and what each can reveal

Observed model calls can be drawn from several kinds of runtime logs. Each one records the traffic that passes through it:

  • Gateway logs
  • Proxy logs
  • Provider logs
  • Cloud logs
  • Identity logs
  • Agent tool-call logs

The minimum fields needed to attribute usage

To compare observed usage against registered records, take the model, endpoint, caller, and credential from the logs. Then match on these four fields:

  • Model identifier: which model was called.
  • Endpoint: where the call was sent.
  • Caller identity: who or what made the call.
  • Owner: the named owner in the registered record.

Treat every unmatched combination of these fields as a review item.

A reconciliation workflow

  1. Collect observed usageGather model calls from gateway, proxy, provider, cloud, identity, and agent tool-call logs.
  2. Compare against registered recordsMatch on model identifier, endpoint, caller identity, and owner.
  3. Flag unmatched combinationsTreat each observed usage with no corresponding inventory record as a review item.
  4. Record a resolutionCapture a decision to register, restrict, or block each finding as resolution evidence.

Where log-based discovery falls short

Logs only show traffic that passes through logged paths. Usage that does not pass through a source you collect from will not appear in the comparison.

What to evaluate in runtime logging and enforcement

When assessing runtime governance, agent identity, and audit logging for AI model and tool usage, consider whether they let you:

  • Capture model, endpoint, caller, and credential for the traffic that passes through logged paths.
  • Attribute each call to a caller identity and a named owner.
  • Surface observed usage that has no corresponding inventory record.
  • Keep a recorded decision to register, restrict, or block each finding.

Review your inventory against runtime usage

Talk to an expert about runtime governance, agent identity, and audit logging for AI model and tool usage.

Talk to an Expert