MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / export_records

Method export_records

uncommon_route/stats.py:325–327  ·  view source on GitHub ↗
(self, limit: int | None = None)

Source from the content-addressed store, hash-verified

323 return records[:limit] if limit else records
324
325 def export_records(self, limit: int | None = None) -> list[dict[str, Any]]:
326 records = self.history(limit=limit)
327 return [_record_payload(record) for record in records]
328
329 def recent(self, limit: int = 30) -> list[dict[str, Any]]:
330 """Most recent routed requests that carry a request_id (for feedback)."""

Callers 3

find_traceFunction · 0.95
_legacy_recent_tracesFunction · 0.45
_recent_traces_payloadFunction · 0.45

Calls 2

historyMethod · 0.95
_record_payloadFunction · 0.85

Tested by

no test coverage detected