# quota

Configuration of the [quota manager](/6.0/5.0/component-definition/quotas-and-limits.md) used for this component. Quotas allow you to throttle the firing of your component. This is especially useful and many times even necessary to make sure you don't go over limits of the usage of the API that you call in your components. Quota managers are defined in the `quota.js` file of your service/module. Example:

```
{
     "quota": {
        "manager": "pipedrive",
        "resources": "requests",
        "scope": {
            "userId": "{{userId}}"
        }
    }
}
```

## quota.manager

The name of the quota module where usage limit rules are defined.

## quota.resources

One or more resources that identify rules from the quota module that apply to this component. Each rule in the quota module can have the `resource` property. `quota.resources` allow you to cherry-pick rules from the list of rules in the quota module that apply to this component. `quota.resources` can either be a string or an array of strings.

## quota.scope

This scope instructs the quota manager to count calls either for the whole application (service) or per-user. Currently, it can either be omitted in which case the quota limits for this component apply for the whole application or it can be `{ "userId": "{{userId}}" }` in which case the quota limits are counted per Appmixer user.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appmixer.com/6.0/5.0/component-definition/manifest/quota.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
