---
title: responses
description: Summarizes the response codes a bucket has returned.
pubDate: 2026-08-17T09:53:44.266Z
antora:
  editUrl: https://github.com/couchbase/docs-server/edit/release/8.0/modules/cli/pages/cbstats/cbstats-responses.adoc
  xref: xref:server:cli:cbstats/cbstats-responses.adoc[]
---

[Consult the llms.txt file for a full list of contents](/llms.txt)
[View original HTML](/server/current/cli/cbstats/cbstats-responses.html)

# responses

> Summarizes the response codes a bucket has returned. 

## [](#syntax)Syntax

Request syntax:

cbstats host:11210 [common options] responses [all]

## [](#description)Description

This command summarizes the response codes that the specified bucket has returned, or the default bucket if none is specified.

## [](#options)Options

__Table 1\. responses options__
| Option | Description                                                                                                                                                                                                                     |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| all    | If this argument is omitted, the command summarizes only the responses that the bucket has returned. If this argument is specified, the command summarizes all possible responses, including those the bucket has not returned. |

For common `cbstats` options, see [cbstats](../cbstats-intro.md).

## [](#example-1)Example 1

**Request**

cbstats localhost:11210 -u Administrator -p password -b beer-sample responses

**Response**

 EINVAL:                            2
 KEY_ENOENT:                        28
 SUCCESS:                           180932

## [](#example-2)Example 2

**Request**

cbstats localhost:11210 -u Administrator -p password -b beer-sample responses all

**Response**

 AUTH_CONTINUE:                     0
 AUTH_ERROR:                        0
 AUTH_STALE:                        0
 DELTA_BADVAL:                      0
 E2BIG:                             0
 EACCESS:                           0
 EBUSY:                             0
 EINTERNAL:                         0
 EINVAL:                            2
 ENOMEM:                            0
 ERANGE:                            0
 ETMPFAIL:                          0
 KEY_EEXISTS:                       0
 KEY_ENOENT:                        28
 LOCKED:                            0
 NOT_INITIALIZED:                   0
 NOT_MY_VBUCKET:                    0
 NOT_STORED:                        0
 NOT_SUPPORTED:                     0
 NO_BUCKET:                         0
 ROLLBACK:                          0
 SUBDOC_DELTA_EINVAL:               0
 SUBDOC_DOC_NOTJSON:                0
 SUBDOC_INVALID_COMBO:              0
 SUBDOC_INVALID_XATTR_ORDER:        0
 SUBDOC_MULTI_PATH_FAILURE:         0
 SUBDOC_MULTI_PATH_FAILURE_DELETED: 0
 SUBDOC_NUM_ERANGE:                 0
 SUBDOC_PATH_E2BIG:                 0
 SUBDOC_PATH_E2DEEP:                0
 SUBDOC_PATH_EEXISTS:               0
 SUBDOC_PATH_EINVAL:                0
 SUBDOC_PATH_ENOENT:                0
 SUBDOC_PATH_MISMATCH:              0
 SUBDOC_SUCCESS_DELETED:            0
 SUBDOC_VALUE_CANTINSERT:           0
 SUBDOC_VALUE_ETOODEEP:             0
 SUBDOC_XATTR_CANT_MODIFY_VATTR:    0
 SUBDOC_XATTR_INVALID_FLAG_COMBO:   0
 SUBDOC_XATTR_INVALID_KEY_COMBO:    0
 SUBDOC_XATTR_UNKNOWN_MACRO:        0
 SUBDOC_XATTR_UNKNOWN_VATTR:        0
 SUCCESS:                           180932
 UNKNOWN_COLLECTION:                0
 UNKNOWN_COMMAND:                   0
 XATTR_EINVAL:                      0