# party.whey.writeproxy.admin.getLimits

> Effective limits, usage, and remaining quota for any service, caller, or delegation scope.

- Kind: query
- Authority: admin.writeproxy.whey.party
- Lexicon: 1
- Published by [whey.party](https://lexicon.garden/identity/did:plc:mn45tewwnse5btfftvd3powc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.writeproxy.admin.getLimits)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.writeproxy.admin.getLimits/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.writeproxy.admin.getLimits/analytics)

## Query (`party.whey.writeproxy.admin.getLimits`)

Type: query · GET

### Parameters (query string)

- `caller` (string · did)
- `delegation` (string)
  - Constraints: maxLength: 128
- `scope` (string)
  - Constraints: default: "service", enum: service | caller | delegation

### Output (application/json)

- `schema` (ref)
  - Reference: `party.whey.writeproxy.defs#limitsView`

### Errors

- `NotOperator`: No description in schema.
- `DelegationNotFound`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "NotOperator"
        },
        {
          "name": "DelegationNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "party.whey.writeproxy.defs#limitsView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "caller": {
            "format": "did",
            "type": "string"
          },
          "delegation": {
            "maxLength": 128,
            "type": "string"
          },
          "scope": {
            "default": "service",
            "enum": [
              "service",
              "caller",
              "delegation"
            ],
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Effective limits, usage, and remaining quota for any service, caller, or delegation scope.",
  "id": "party.whey.writeproxy.admin.getLimits",
  "lexicon": 1
}
```
