agrag.retrieval.tracing.filters_json
filters_json(filters:SearchFilters | None) -> str
Return the scope as JSON, an empty scope when filters is None.
Parameters:
- filters (
SearchFilters | None) – The scope a search or retriever ran with, or None.
Returns:
str– The scope as JSON, never None, so a span always records it.