docs(openrouter-analytics-schema): sync with openrouter-web changes - #112
docs(openrouter-analytics-schema): sync with openrouter-web changes#112devin-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 #31199 added a
data_regiondimension to the analytics dimension registry, which the publicGET /api/v1/analytics/metaendpoint emits verbatim (get-meta.ts→getAllDimensionDefinitions()), so it is queryable on/api/v1/analytics/querytoday. The skill's dimension reference didn't list it.Two edits:
data_regionto the 31-day-limited dimension list (it isavailableIn: ['generations']only, so it forces the raw generations table and its 31-day cap)global,europe,us) and that pre-default rows with an empty region are reported asglobal(generationsExpression: if(data_region = '', 'global', data_region))Other openrouter-web merges in the window were reviewed and don't affect this skill.
Link to Devin session: https://openrouter.devinenterprise.com/sessions/0a3babd130b545c48428f1b79f3da510