# party.whey.writeproxy.admin.listAudit

> List control and write audit metadata. No record values, blobs, tokens, or DPoP keys.

- 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.listAudit)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.writeproxy.admin.listAudit/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.writeproxy.admin.listAudit/analytics)

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

Type: query · GET

### Parameters (query string)

- `actor` (string · did)
- `cursor` (string)
- `delegation` (string)
  - Constraints: maxLength: 128
- `event` (string)
  - Constraints: maxLength: 64
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50
- `role` (string)
  - Constraints: enum: delegator | caller | operator | system | legacy
- `since` (string · datetime)
- `until` (string · datetime)

### Output (application/json)

- `cursor` (string)
- `entries` (array, required)
  - `items` (ref)
    - Reference: `party.whey.writeproxy.defs#auditEntry`

### Errors

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

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "NotOperator"
        },
        {
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "entries": {
              "items": {
                "ref": "party.whey.writeproxy.defs#auditEntry",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "entries"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "format": "did",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "delegation": {
            "maxLength": 128,
            "type": "string"
          },
          "event": {
            "maxLength": 64,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "role": {
            "enum": [
              "delegator",
              "caller",
              "operator",
              "system",
              "legacy"
            ],
            "type": "string"
          },
          "since": {
            "format": "datetime",
            "type": "string"
          },
          "until": {
            "format": "datetime",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "List control and write audit metadata. No record values, blobs, tokens, or DPoP keys.",
  "id": "party.whey.writeproxy.admin.listAudit",
  "lexicon": 1
}
```
