Expand description
Core schemas and ID helpers for statsai.
Structs§
- Cost
Info - Daily
Rollup - EventId
- Event
Source - GitInfo
- Metric
Stats - Model
Info - Parse
Evidence - Privacy
Info - Project
Info - Provider
Account - Provider
Account Id - Runtime
Info - Semantic
Fingerprint Input - Session
Info - Source
Account Assignment - Source
Account Assignment Id - Source
Id - Source
Location - Subscription
- Subscription
Id - Subscription
Report Row - Summary
Id - Summary
Metadata - Summary
Metrics - Summary
Model Usage - Summary
Report Row - SyncAck
- Sync
Batch - Sync
Entity Counts - Sync
Rejected Record - Usage
Counts - Usage
Event - Usage
Report - Usage
Report Row - Usage
Summary - Usage
Totals - Verified
Source State - Verified
Subscription State
Enums§
- Billing
Period - Confidence
- Identity
Source - Latency
Source - Location
Origin - Privacy
Mode - Report
Period - Source
Kind - Source
Verification Mode - Subscription
Status
Constants§
- DAILY_
ROLLUP_ SCHEMA_ VERSION - PROVIDER_
ACCOUNT_ SCHEMA_ VERSION - REPORTED_
USAGE_ SUMMARY_ INPUT_ SCHEMA_ VERSION - SOURCE_
ACCOUNT_ ASSIGNMENT_ SCHEMA_ VERSION - SOURCE_
LOCATION_ SCHEMA_ VERSION - SUBSCRIPTION_
SCHEMA_ VERSION - SYNC_
ACK_ SCHEMA_ VERSION - SYNC_
BATCH_ SCHEMA_ VERSION - USAGE_
EVENT_ SCHEMA_ VERSION - USAGE_
SUMMARY_ SCHEMA_ VERSION
Functions§
- build_
usage_ report - canonical_
display - display_
account_ identity - display_
path - Display-friendly path normalization.
Expands
~for home but does NOT perform filesystem canonicalization (to avoid symlink/mount identity changes for labels). - event_
id - expand_
home_ path - hash_
text - home_
dir - normalize_
email - normalize_
provider_ user_ id - path_
hash - periods_
overlap - project_
bucket_ key - project_
contains_ file_ paths - project_
has_ remote_ identity - project_
has_ stable_ identity - provider_
account_ id - provider_
account_ id_ from_ identity - provider_
account_ stable_ key - sanitize_
project_ for_ sync - sanitize_
summary_ for_ sync - semantic_
event_ fingerprint - semantic_
event_ id - source_
account_ assignment_ id - source_
id - subscription_
id - summary_
id - timestamp_
in_ period