Skip to main content
Use this guide when Anthale is already in the request path and you want better operational visibility without dumping unnecessary raw data into metadata fields. Good metadata makes Anthale commercially useful in production. It turns a runtime decision into something your team can route, investigate, explain, and tune.

Start with stable identifiers

Prefer metadata that identifies the workflow and boundary cleanly: You do not need every field on every request. The right goal is stable context, not maximal metadata.

A useful baseline object

What to avoid

  • Raw prompt content duplicated into metadata.
  • Secrets, tokens, or credentials.
  • Unnecessary PII when a stable internal identifier would work.
  • Free-form values that change spelling across services and make filtering unreliable.

How to decide what belongs there

1

Start from the questions operators ask

If an operator sees a block, what will they need to know first. Usually that means the boundary, feature, request, and source.
2

Prefer identifiers over descriptions

Use values your logs, traces, and incident workflows can join reliably. Descriptive prose is harder to filter and compare later.
3

Add source context only where it exists

Retrieval flows need document or source IDs. Tool flows need a tool name. Output-only flows may not need either.
4

Keep the schema stable across services

The same boundary or feature should mean the same thing everywhere. This matters more than having a long list of fields.

Next steps

Continue with Investigate Anthale Policy Hits in Production or Actions and Evaluation Flow.
Last modified on April 12, 2026