Skip to main content

Documentation Index

Fetch the complete documentation index at: https://databridge-add-core-funcs.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

def get_usage_stats() -> Dict[str, int]

Returns

  • Dict[str, int]: Mapping of operation types (e.g. "query", "agent") to total tokens used.

Example

stats = db.get_usage_stats()
print(stats["query"], "tokens consumed for queries")