Data

Usage event schema

Every MCP call is logged with identity, consent, budgets, and cost metadata. Use this schema to mirror the ledger into your warehouse.

Atlas usage events are the single source of truth for billing and compliance. The schema below never changes without a migration notice.

Why log every call

Usage events are the ledger that binds together identity, consent, budgets, and provenance. Finance uses them to reconcile invoices, compliance uses them to answer subpoenas, and engineers use them to debug latency or vendor issues.

Every Atlas plan ships with the full schema—you are never guessing about hidden costs.

Field reference

Use this table to map Atlas telemetry into your warehouse or SIEM. The same fields power tracker dashboards and partner exports.

Usage event fields
FieldDescription
event_idSigned UUID for the tool call
ts_utcUTC timestamp when the call finished
actor_idAtlas user or bot ID
roleActor role (Owner/Admin/Client/Bot)
office_idOffice or brokerage subdivision
tool_nameCanonical MCP tool identifier
vendor_nameDownstream vendor (Atlas default or marketplace)
model_nameLLM or automation model used
subject_refWorkspace resource (transaction/item/file) touched
input_tokensTokens sent to the model
output_tokensTokens returned
input_bytesPayload size in bytes
output_bytesResponse size in bytes
api_cost_usdRaw vendor cost in USD
atlas_fee_usdAtlas platform fee in USD
total_cost_usdSum of api_cost_usd + atlas_fee_usd
rate_bucketWhich budget bucket was decremented
rl_allowedWhether the request passed rate limiting
rl_actionAction taken (pass, queue, deny)
latency_msRound-trip latency in milliseconds
cache_hitTrue if cache satisfied the request
successTrue if the tool completed successfully
artifact_uriPointer to resulting artifact (PDF, JSON, etc.)
consent_scopesScopes attached to this call
signatureCryptographic signature for tamper detection

Example JSON event

Here is a realistic event for the rental comps tool. Copy it into your contract tests to ensure your ingestion pipeline handles every field.

json
{
  "event_id": "evt_mcp_240124",
  "ts_utc": "2025-01-24T15:18:04Z",
  "actor_id": "agent_204",
  "role": "Agent",
  "office_id": "denver_team_a",
  "tool_name": "generate_rental_comps_pdf",
  "vendor_name": "atlas_default",
  "model_name": "gpt-4o-mini",
  "subject_ref": "txn_D455:item_summary",
  "input_tokens": 980,
  "output_tokens": 1320,
  "input_bytes": 28100,
  "output_bytes": 40220,
  "api_cost_usd": 0.58,
  "atlas_fee_usd": 0.17,
  "total_cost_usd": 0.75,
  "rate_bucket": "denver_team_a.daily",
  "rl_allowed": true,
  "rl_action": "pass",
  "latency_ms": 1980,
  "cache_hit": false,
  "success": true,
  "artifact_uri": "atlas://artifacts/txn_D455/rental-comps-2025-01-24.pdf",
  "consent_scopes": [
    "mls.read",
    "atlas.data"
  ],
  "signature": "0x92acff932..."
}
Signed usage event

Downstream consumers

Finance: join event_id to invoices, roll up cost by workspace or office.

Security: stream events into your SIEM to detect anomalous usage.

Product: slice by tool or vendor to prioritize new guardrails.

  • Finance & RevOps → reconcile cost and apply markups.
  • Security → watch for unusual scopes or actors.
  • Product → spot hot tools, latency regressions, and cache wins.

Atlas Agent

Need warehouse integration help?

We provide sample dbt models and webhook relays so you can sync usage events anywhere.

Related reading

Tracker & rate guard

See how events feed budgets + alerts.

Go to Tracker & rate guard

Integration blueprint

Wire events into your CRM or SIEM.

Go to Integration blueprint

What is an MCP server?

Explain the ledger to execs.

Go to What is an MCP server?
Atlas Agent