List quotas Run in API Explorer

GET /v1/quotas

List client quotas. Use filter parameters to narrow results by entity type and filter criteria.

Query parameters

  • filter.entity_type string

    The type of entity to filter by. If unspecified, all entities will be returned.

    • ENTITY_TYPE_USER: Not supported in Redpanda
    • ENTITY_TYPE_IP: Not supported in Redpanda

    Values are ENTITY_TYPE_CLIENT_ID, ENTITY_TYPE_CLIENT_ID_PREFIX, ENTITY_TYPE_USER, or ENTITY_TYPE_IP.

  • filter.entity_name string

    Filter by entity name. If unspecified will return all entities for specified entity type.

  • filter.match_default boolean

    If true, the entity_name will match the default entity (e.g., default client-id).

  • page_size integer(int32)

    Limit the paginated response to a number of items. Defaults to 100. Use -1 to disable pagination.

  • page_token string

    Value of the next_page_token field returned by the previous response. If not provided, the system assumes the first page is requested.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • page_token string

      Token to retrieve the next page of results. If empty, there are no more results.

    • quotas array[object]

      QuotaEntry represents the quota for a specific entity type.

      Hide quotas attributes Show quotas attributes object
      • entity object
        Hide entity attributes Show entity attributes object
        • entity_name string
        • entity_type string

          The type of entity that the quota applies to.

          • ENTITY_TYPE_USER: Not supported in Redpanda
          • ENTITY_TYPE_IP: Not supported in Redpanda

          Values are ENTITY_TYPE_CLIENT_ID, ENTITY_TYPE_CLIENT_ID_PREFIX, ENTITY_TYPE_USER, or ENTITY_TYPE_IP.

      • values array[object]
        Hide values attributes Show values attributes object
        • value number(double)
        • value_type string

          The type of value that the quota represents.

          • VALUE_TYPE_PRODUCER_BYTE_RATE: The rate at which producers can send data.
          • VALUE_TYPE_CONSUMER_BYTE_RATE: The rate at which consumers can fetch data.
          • VALUE_TYPE_CONTROLLER_MUTATION_RATE: The rate at which topic mutation requests can be made.
          • VALUE_TYPE_REQUEST_PERCENTAGE: The percentage of the total throughput that can be used by the entity.

          Not supported in Redpanda

          Values are VALUE_TYPE_PRODUCER_BYTE_RATE, VALUE_TYPE_CONSUMER_BYTE_RATE, VALUE_TYPE_CONTROLLER_MUTATION_RATE, or VALUE_TYPE_REQUEST_PERCENTAGE.

  • 401 application/json

    Unauthenticated.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • 500 application/json

    Internal Server Error. Reach out to support.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • default application/json

    An unexpected error response.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

GET /v1/quotas
curl \
 --request GET 'https://{dataplane_api_subdomain}.cloud.redpanda.com/v1/quotas' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "page_token": "string",
  "quotas": [
    {
      "entity": {
        "entity_name": "string",
        "entity_type": "ENTITY_TYPE_CLIENT_ID"
      },
      "values": [
        {
          "value": 42.0,
          "value_type": "VALUE_TYPE_PRODUCER_BYTE_RATE"
        }
      ]
    }
  ]
}
Response examples (401)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (500)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (default)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}