# QuotaSaveRequest

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/http-api/schemas/quotasaverequest/
> Summary: OpenAPI request or response schema for QuotaSaveRequest, including required fields, defaults, constraints, and linked nested types.

[← All HTTP schemas](/http-api/schemas/)

Request body for saving a quota rule.

**Shape:** `object`

| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
| `agentName` | no | `string` | Gets the agent the rule is bound to. If left empty, the rule applies to all of the tenant's runs. | — |
| `period` | no | [`QuotaPeriod`](/http-api/schemas/quotaperiod/) | Gets the counter's reset interval. | — |
| `maxRuns` | no | `integer (int64)` | Gets the maximum number of runs per period. | pattern `^-?(?:0\\|[1-9]\d*)$` |
| `maxTokens` | no | `integer (int64)` | Gets the maximum number of tokens per period. | pattern `^-?(?:0\\|[1-9]\d*)$` |
| `maxCost` | no | `number (double)` | Gets the maximum monetary amount per period. | pattern `^-?(?:0\\|[1-9]\d*)(?:\.\d+)?$` |
| `enabled` | no | `boolean` | Gets whether the rule is enabled. | — |
