# party.whey.writeproxy.getCallerAccess

> List the delegations this caller may write, with effective limits and the delegation IDs needed for blob uploads. Requires service auth as the caller. A caller not on any allowlist gets an empty list.

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

## Query (`party.whey.writeproxy.getCallerAccess`)

Type: query · GET

### Parameters (query string)

- `cursor` (string)
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50

### Output (application/json)

- `caller` (string · did, required)
- `cursor` (string)
- `delegations` (array, required)
  - `items` (ref)
    - Reference: `party.whey.writeproxy.defs#callerDelegation`
- `status` (string, required)
  - Constraints: enum: active | suspended | blocked | unregistered

### Errors

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

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "NotAuthorized"
        },
        {
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "caller": {
              "format": "did",
              "type": "string"
            },
            "cursor": {
              "type": "string"
            },
            "delegations": {
              "items": {
                "ref": "party.whey.writeproxy.defs#callerDelegation",
                "type": "ref"
              },
              "type": "array"
            },
            "status": {
              "enum": [
                "active",
                "suspended",
                "blocked",
                "unregistered"
              ],
              "type": "string"
            }
          },
          "required": [
            "caller",
            "status",
            "delegations"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "List the delegations this caller may write, with effective limits and the delegation IDs needed for blob uploads. Requires service auth as the caller. A caller not on any allowlist gets an empty list.",
  "id": "party.whey.writeproxy.getCallerAccess",
  "lexicon": 1
}
```
