coder_ai_daily_user_metrics

Daily developer rollup used by unified AI measurement.

id

Primary key
Unique row identifier.

connection_id

Foreign key
DX Coder AI connection that imported the row.

date

date
UTC usage date.

user_id

Foreign key
Reference to a non-service coder_ai_user.

is_active

boolean
Whether any token usage was observed that day.

input_tokens

number
Uncached input tokens.

output_tokens

number
Output tokens.

cache_read_tokens

number
Cache-read input tokens.

cache_write_tokens

number
Cache-write input tokens.

spend_micros

number
Coder-estimated cost in micro-USD.

spend_cents

number
Rounded Coder-estimated cost in cents.