docs(openrouter-analytics-schema): sync with openrouter-web changes - #100
docs(openrouter-analytics-schema): sync with openrouter-web changes#100devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Original prompt from Automation
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Summary
openrouter-web #30762 added
session_idto the public analytics dimension registry, so/api/v1/analytics/metanow advertises a dimension the schema skill's dimension list didn't have.Adds it to the 31-day (generations-only) dimension list, including that sessionless requests come back as the literal
none(the ClickHouse column defaults to an empty string and the query builder coalesces it).Public-surface evidence:
packages/clickhouse/analytics/schemas.ts(DimensionNameSchema) →packages/clickhouse/analytics/dimension-registry.ts(generations dimension +nonecoalescing) →services/cfw-public-api/src/routes/analytics/get-meta.ts(serves registry dimensions).The
openrouter-analyticsskill already coverssession_id(#98);openrouter-analytics-querytreats dimension names as illustrative and points at the live meta endpoint, so neither needed a change.Link to Devin session: https://openrouter.devinenterprise.com/sessions/d563e5e98e9a4de79adbfc5f46009bd2