<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/ContainersResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "struct/ContainersResponse"
  },
  "title" : "ContainersResponse"
}
-->

# ContainersResponse

An object that represents results of fetching multiple CloudKit containers.

```
dictionary ContainersResponse {
	string? nextKey;
	string? previousKey;
	Container[] containers;
	Container[]? recentContainers;
};
```

## Overview

In JavaScript, this is a plain object with properties as described.

In TypeScript, this type is imported in the following way:

```javascript
import type { ContainersResponse } from "@apple/cktool.database";
```

## Topics

### Instance Properties

[`attribute Container[] containers;`](/documentation/CKToolJS/ContainersResponse/containers)

The list of containers.

[`attribute string? nextKey;`](/documentation/CKToolJS/ContainersResponse/nextKey)

The record key for fetching the next page of results.

[`attribute string? previousKey;`](/documentation/CKToolJS/ContainersResponse/previousKey)

The record key for fetching the previous page of results.

[`attribute Container[]? recentContainers;`](/documentation/CKToolJS/ContainersResponse/recentContainers)

The list of recently accessed containers.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)