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

# Retrieve collection items

**🔐 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: `collections(r)`.

Retrieve all items of a collection, optionally filtered by `type`, i.e. method  of addition to the collection.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "contact": {
      "email": "support@constructor.io"
    },
    "title": "Configuration",
    "version": "0.1"
  },
  "servers": [
    {
      "url": "https://ac.cnstrc.com"
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "Collections"
    }
  ],
  "paths": {
    "/v1/collections/{collection_id}/items": {
      "get": {
        "tags": [
          "Collections"
        ],
        "operationId": "v1-collections-retrieve-collection-items",
        "summary": "Retrieve collection items",
        "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: `collections(r)`.\n\nRetrieve all items of a collection, optionally filtered by `type`, i.e. method  of addition to the collection.",
        "parameters": [
          {
            "name": "collection_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "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": "section",
            "in": "query",
            "schema": {
              "title": "Section",
              "description": "The section of the index to use. Defaults to `Products`.",
              "maxLength": 100,
              "minLength": 1,
              "examples": [
                "Products",
                "Search Suggestions"
              ],
              "type": "string"
            },
            "required": false
          },
          {
            "name": "filters",
            "in": "query",
            "schema": {
              "title": "Filters",
              "description": "Criteria to narrow the result set by. Different filters from this parameter are `ANDed` together.",
              "default": {
                "manual_items": true,
                "dynamic_items": false,
                "unindexed_items": false
              },
              "allOf": [
                {
                  "$ref": "#/components/schemas/CollectionItemFilters"
                }
              ]
            },
            "required": false,
            "style": "deepObject",
            "explode": true
          },
          {
            "name": "num_results_per_page",
            "in": "query",
            "schema": {
              "title": "Num Results Per Page",
              "description": "The number of results per page to return.",
              "default": 100,
              "minimum": 1,
              "maximum": 1000,
              "examples": [
                20,
                100
              ],
              "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": "C",
              "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/CollectionItemListGetResponse"
                }
              }
            }
          },
          "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."
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Rate limit breached"
          }
        },
        "security": [
          {
            "http_basic_auth": []
          },
          {
            "http_bearer_auth": [
              "collections(r)"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "CollectionItemType": {
        "title": "CollectionItemType",
        "enum": [
          "manual",
          "dynamic"
        ],
        "type": "string"
      },
      "CollectionItemFilters": {
        "title": "CollectionItemFilters",
        "type": "object",
        "properties": {
          "manual_items": {
            "title": "Manual Items",
            "description": "Specifies whether to include manually added items in the response.",
            "default": true,
            "examples": [
              true,
              false
            ],
            "type": "boolean"
          },
          "dynamic_items": {
            "title": "Dynamic Items",
            "description": "Specifies whether to include dynamic items (matching collection.filter_expression) in the response.",
            "default": false,
            "examples": [
              false,
              true
            ],
            "type": "boolean"
          },
          "unindexed_items": {
            "title": "Unindexed Items",
            "description": "Specifies whether to include unindexed collection items. Supported only for manual items, hence mutually exclusive with `dynamic_items` filter",
            "default": false,
            "examples": [
              false,
              true
            ],
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CollectionItemListGetResponse": {
        "title": "CollectionItemListGetResponse",
        "type": "object",
        "properties": {
          "items": {
            "title": "Items",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CollectionItemResponse"
            }
          },
          "total_count": {
            "title": "Total Count",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total_count"
        ],
        "additionalProperties": false
      },
      "CollectionItemResponse": {
        "title": "CollectionItemResponse",
        "type": "object",
        "properties": {
          "id": {
            "title": "ID",
            "description": "The ID of the item, added to the collection.",
            "minLength": 1,
            "maxLength": 250,
            "type": "string"
          },
          "source": {
            "title": "Source",
            "description": "Arbitrary identifier of the source of the item manually added to the collection.",
            "examples": [
              "manual_upload",
              "api_sync"
            ],
            "minLength": 1,
            "maxLength": 250,
            "type": "string"
          },
          "variation_ids": {
            "title": "Variation IDs",
            "description": "List of variation IDs to include in this collection for the item. If not provided, all variations of the item are included.",
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 250,
              "examples": [
                "var-red",
                "var-blue"
              ]
            }
          },
          "created_at": {
            "title": "Created At",
            "description": "Collection Item creation date in ISO 8601 format. Present only for manually added items.",
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "title": "Updated At",
            "description": "Collection Item update date in ISO 8601 format. Present only for manually added items.",
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "description": "Describes the method of addition for the item - `manual` if it was manually added to the collection, dynamic if it matches collection's filter expression.",
            "default": "manual",
            "allOf": [
              {
                "$ref": "#/components/schemas/CollectionItemType"
              }
            ]
          }
        },
        "required": [
          "id"
        ]
      }
    },
    "securitySchemes": {
      "http_basic_auth": {
        "type": "http",
        "scheme": "basic"
      },
      "http_bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```