---
title: ContainersResponse
framework: CKTool JS
role: symbol
role_heading: Structure
platforms: [cktool js 1.2.15+]
path: cktooljs/containersresponse
---

# ContainersResponse

An object that represents results of fetching multiple CloudKit containers.

## Declaration

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

## Overview

Overview In JavaScript, this is a plain object with properties as described. In TypeScript, this type is imported in the following way: import type { ContainersResponse } from "@apple/cktool.database";

## Topics

### Instance Properties

- [containers](cktooljs/containersresponse/containers.md)
- [nextKey](cktooljs/containersresponse/nextkey.md)
- [previousKey](cktooljs/containersresponse/previouskey.md)
- [recentContainers](cktooljs/containersresponse/recentcontainers.md)

## See Also

### Global Structures and Enumerations

- [Container](cktooljs/container.md)
- [CKEnvironment](cktooljs/ckenvironment.md)
- [ContainersSortByField](cktooljs/containerssortbyfield.md)
- [SortDirection](cktooljs/sortdirection.md)
