Skip to content

Commit 22a22c4

Browse files
fix: query param docs
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent f10f7be commit 22a22c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plane/models/query_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ class WorkItemCountQueryParams(BaseModel):
114114
Accepts the same ``filters`` and ``pql`` as :class:`WorkItemQueryParams`
115115
plus an optional ``group_by`` field.
116116
117-
Without ``group_by`` the response is ``{"count": N}``.
117+
Without ``group_by`` the response is ``{"grouped_by": null, "sub_grouped_by": null, "total_count": N, "grouped_counts": {}}``.
118118
With ``group_by`` the response is
119-
``{"grouped_by": ..., "total_count": N, "results": {group_key: {"count": N}}}``.
119+
``{"grouped_by": ..., "sub_grouped_by": null, "total_count": N, "grouped_counts": {group_key: {"count": N}}}``.
120120
"""
121121

122122
model_config = ConfigDict(extra="ignore", populate_by_name=True)

0 commit comments

Comments
 (0)