docs(openrouter-analytics-schema): sync with openrouter-web changes - #157
docs(openrouter-analytics-schema): sync with openrouter-web changes#157devin-ai-integration[bot] wants to merge 3 commits into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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
Documents the operator-level constraint behind the new
include_unsetfilter modifier on the public analytics query API: it is accepted only within/not_in, and only for dimensions that expose an unset bucket. Also states plainly that/api/v1/analytics/metadoes not advertise which dimensions those are, so agents don't waste a discovery round trip — the meta dimension projection carries onlynameanddisplay_label.Source: OpenRouterTeam/openrouter-web#32182 (schema + operator validation in
cfw-public-api/routes/analytics/query-analytics.ts, unset-bucket sentinels inpackages/clickhouse/analytics/dimension-registry.ts, public spec inprojects/docs/openapi/openapi.yaml). The rejection message is quoted frompackages/clickhouse/analytics/schemas.tswith the field name shown as a placeholder.Complements #156, which covers the filter-object shape itself.
Link to Devin session: https://openrouter.devinenterprise.com/sessions/d56b58eacc824c57869d97b70071cce9