---
title: "Search for groups"
method: GET
path: "/search/groups"
tags: ["Search", "Groups"]
---

# Search for groups

`GET /search/groups`

Returns a paginated list of all groups that match the provided filter criteria.

This operation can fail for the following reasons:

* A server error occurred (HTTP error `500`)

## Query parameters

- `offset` integer
- `limit` integer
- `order` 'asc' | 'desc'
- `orderby` 'groupId' | 'createdOn' | 'modifiedOn'
- `labels` string[]
- `description` string
- `groupId` string

## Response `200`

On a successful response, returns a result set of groups - one for each group
in the registry that matches the criteria.

- GroupSearchResults — Describes the response received when searching for groups.
  - `groups` SearchedGroup[], required — The groups returned in the result set.
    - `description` string
    - `createdOn` string, date-time, required
    - `owner` string, required
    - `modifiedOn` string, date-time, required
    - `modifiedBy` string, required
    - `groupId` string, required — An ID of a single artifact group.
    - `labels` Labels — User-defined name-value pairs. Name and value must be strings.
  - `count` integer, required — The total number of groups that matched the query that produced the result set (may be more than the number of groups in the result set).

## Other responses

- `401` — Common response for all operations that can return a `401` error indicating authentication is required.
- `403` — Common response for all operations that can return a `403` error indicating the user is authenticated but not authorized.
- `500` — Common response for all operations that can fail with an unexpected server error.

---

[API](https://skmtc.net/apicurio/apis/apicurio-registry-api-v3.md) · [All operations](https://skmtc.net/apicurio/apis/apicurio-registry-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apicurio/apicurio-registry-api-v3/revisions/c39cb56d7dbc/schema)
