[Yandex Cloud documentation](../../index.md) > [Yandex API Gateway](../index.md) > [Concepts](index.md) > Quotas and limits

# Quotas and limits in API Gateway

API Gateway has the following limits:

* [_Quotas_](https://console.yandex.cloud/cloud?section=quotas) are organizational constraints that can be changed by contacting technical support.
* _Limits_ are technical constraints of the Yandex Cloud architecture. You cannot change the limits.

If you need more resources, you can increase your quotas in one of the following ways:

* [Make a request to increase your quotas](https://console.yandex.cloud/cloud?section=quotas).
* Contact [support](https://center.yandex.cloud/support) and specify which quotas you want increased and by how much.

To have your request processed, you must have the `quota-manager.requestOperator` [role](../../iam/roles-reference.md#quota-manager-requestoperator) or higher, e.g., `editor` or `admin`.

You can manage your quotas with [Cloud Quota Manager](../../quota-manager/quickstart.md).

#### Quotas {#api-gw-quotas}

#|
|| Type of limit | Value ||
|| Number of [triggers](../../serverless-containers/concepts/trigger/index.md) per cloud^1^ 
`serverless.triggers.count` | 100 ||
|| Number of [user networks](networking.md#user-network) per cloud | 10 ||
|#

^1^ API Gateway, Cloud Functions, and Serverless Containers share the same `Number of triggers per cloud` quota. The [management console](https://console.yandex.cloud/cloud?section=quotas) shows it as part of the Cloud Functions quota list.

#### Limits {#api-gw-limits}

Type of limit | Value
----- | -----
Maximum size of a request to and a response from API Gateway | 2.5 MB
Maximum specification size | 3.5 MB
Maximum request processing timeout | 10 minutes^1^
Maximum size of message being transmitted via a web socket | 128 KB
Maximum size of frame being transmitted via a web socket | 32 KB
Maximum time-to-live of a web socket connection | 60 minutes
Maximum time-to-live of an idle web socket connection | 10 minutes
Maximum number of triggers per [message queue](../../message-queue/concepts/queue.md) | 1
Maximum message size per trigger^2^ | 230 KB
Maximum number of [domains](index.md#domains) you can connect to a single API gateway | 20

^1^ Default value: 5 minutes.
^2^ The message may include service metadata, which will reduce the maximum message size.