> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # GroupBy Set to 'workspace' to split each row per workspace and include `workspace_id` on every item. Omitted by default, in which case rows are aggregated across workspaces (by date, model, and endpoint) and `workspace_id` is not returned — preserving the historical response shape. ## Example Usage ```go theme={null} import ( "github.com/OpenRouterTeam/go-sdk/models/operations" ) value := operations.GroupByWorkspace ``` ## Values | Name | Value | | ------------------ | --------- | | `GroupByWorkspace` | workspace |