---
updatedAt: 2026-05-28T22:55:39.000Z
agentTools:
  projectIndex: https://docs.constructor.com/llms.txt
---

# Retrieve item groups

**🔐 This endpoint requires [HTTP authentication](https://docs.constructor.com/reference/main-authentication) (either [Basic](https://docs.constructor.com/reference/main-authentication#basic-authentication) or [Bearer](https://docs.constructor.com/reference/main-authentication#bearer-authentication)).**
For authenticating with Bearer token, required scopes are: `catalog(r)`.

Retrieve all items groups, optionally filtered by ids.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "contact": {
      "email": "support@constructor.io"
    },
    "title": "Catalog management",
    "version": "0.1"
  },
  "servers": [
    {
      "url": "https://ac.cnstrc.com"
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "Item groups"
    }
  ],
  "paths": {
    "/v2/item_groups": {
      "get": {
        "tags": [
          "Item groups"
        ],
        "operationId": "v2-item-groups-retrieve-item-groups",
        "summary": "Retrieve item groups",
        "description": "**🔐 This endpoint requires [HTTP authentication](https://docs.constructor.com/reference/main-authentication) (either [Basic](https://docs.constructor.com/reference/main-authentication#basic-authentication) or [Bearer](https://docs.constructor.com/reference/main-authentication#bearer-authentication)).**\nFor authenticating with Bearer token, required scopes are: `catalog(r)`.\n\nRetrieve all items groups, optionally filtered by ids.",
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "schema": {
              "title": "Key",
              "description": "The key of the index to use.",
              "maxLength": 100,
              "minLength": 1,
              "examples": [
                "key_K2pX7vBnU0bgA5xp"
              ],
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "title": "Id",
              "description": "Array of item group ID(s) to filter by.",
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 250
              },
              "maxItems": 1000
            },
            "required": false
          },
          {
            "name": "num_results_per_page",
            "in": "query",
            "schema": {
              "title": "Num Results Per Page",
              "description": "The number of results per page to return.",
              "default": 20,
              "minimum": 1,
              "maximum": 1000,
              "examples": [
                100,
                1000
              ],
              "type": "integer"
            },
            "required": false
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "title": "Page",
              "description": "The page of results to return.",
              "minimum": 1,
              "examples": [
                1,
                2
              ],
              "type": "integer"
            },
            "required": false
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "title": "Offset",
              "description": "The number of results to skip from the beginning. Cannot be used together with `page`.",
              "minimum": 0,
              "examples": [
                0,
                100
              ],
              "type": "integer"
            },
            "required": false
          },
          {
            "name": "c",
            "in": "query",
            "schema": {
              "title": "Client ID",
              "description": "The ID of the client and version that the request is coming from, such as `cio-js-2.90`.",
              "maxLength": 100,
              "minLength": 1,
              "examples": [
                "cio-js-2.90",
                "cio-ios-1.0"
              ],
              "type": "string"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemGroupsListGetResponse"
                }
              }
            }
          },
          "400": {
            "description": "Validation Error"
          },
          "401": {
            "description": "Credentials are not passed or action is forbidden."
          },
          "403": {
            "description": "The supplied token does not have the required permissions."
          },
          "429": {
            "description": "Rate limit breached"
          }
        },
        "security": [
          {
            "http_basic_auth": []
          },
          {
            "http_bearer_auth": [
              "catalog(r)"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ItemGroupsGetResponse": {
        "title": "ItemGroupsGetResponse",
        "type": "object",
        "properties": {
          "data": {
            "title": "Data",
            "description": "Object containing additional data, that should be attached to this item group. The maximum size of data object is limited to 5kB. The average size of data objects for all ingested item groups should not exceed 1kB.",
            "type": "object"
          },
          "id": {
            "title": "ID",
            "description": "The ID of the item group",
            "minLength": 1,
            "maxLength": 200,
            "type": "string"
          },
          "name": {
            "title": "Display Name",
            "description": "Item group display name.",
            "minLength": 1,
            "maxLength": 500,
            "type": "string"
          },
          "parent_ids": {
            "title": "Parent Ids",
            "description": "List of parent item group IDs",
            "type": "array",
            "items": {
              "type": "string",
              "examples": [
                "parent-1",
                "root"
              ]
            }
          }
        },
        "required": [
          "id",
          "name"
        ]
      },
      "ItemGroupsListGetResponse": {
        "title": "ItemGroupsListGetResponse",
        "type": "object",
        "properties": {
          "item_groups": {
            "title": "Item Groups",
            "minItems": 0,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemGroupsGetResponse"
            }
          },
          "total_count": {
            "title": "Total Count",
            "description": "Total number of item groups.",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "item_groups",
          "total_count"
        ]
      }
    },
    "securitySchemes": {
      "http_basic_auth": {
        "type": "http",
        "scheme": "basic"
      },
      "http_bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```