---
title: "GET /api/project/groupBy"
method: GET
path: "/api/project/groupBy"
tags: ["project"]
---

# GET /api/project/groupBy

`GET /api/project/groupBy`

Group Projects by fields

## Response `200`

Successful operation

- object
  - `data` ProjectGroupByOutputType[], required — The Prisma response data serialized with superjson
    - `id` string, required
    - `name` string, required
    - `description` string, nullable
    - `organizationId` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `cookies` unknown
    - `session` unknown
    - `localStorage` unknown
    - `_count` ProjectCountAggregateOutputType
      - `id` integer, required
      - `name` integer, required
      - `description` integer, required
      - `organizationId` integer, required
      - `createdAt` integer, required
      - `updatedAt` integer, required
      - `cookies` integer, required
      - `session` integer, required
      - `localStorage` integer, required
      - `_all` integer, required
    - `_min` ProjectMinAggregateOutputType
      - `id` string, nullable
      - `name` string, nullable
      - `description` string, nullable
      - `organizationId` string, nullable
      - `createdAt` string, date-time, nullable
      - `updatedAt` string, date-time, nullable
    - `_max` ProjectMaxAggregateOutputType
      - `id` string, nullable
      - `name` string, nullable
      - `description` string, nullable
      - `organizationId` string, nullable
      - `createdAt` string, date-time, nullable
      - `updatedAt` string, date-time, nullable
  - `meta` Meta — Meta information about the request or response
    - `serialization` unknown

## Other responses

- `400` — Invalid request
- `403` — Request is forbidden
- `422` — Request is unprocessable due to validation errors

---

[API](https://skmtc.dev/iris-networks/apis/my-awesome-api.md) · [All operations](https://skmtc.dev/iris-networks/apis/my-awesome-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iris-networks/my-awesome-api/revisions/4cea49731f1e/schema)
