# app.didpic.admin.listUsers

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.admin.listUsers)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.admin.listUsers/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.admin.listUsers/examples)

## Definitions

### `app.didpic.admin.listUsers`

**Type**: `query`

List indexed actors, newest first.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `users` | `array` | Yes |  |
| `cursor` | `string` | No |  |

### `app.didpic.admin.listUsers#user`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `handle` | `string` | No |  |
| `takedown` | `boolean` | Yes |  |
| `avatarCid` | `string` | No |  |
| `indexedAt` | `string` (datetime) | Yes |  |
| `postCount` | `integer` | Yes |  |
| `displayName` | `string` | No |  |
| `firstSeenAt` | `string` (datetime) | Yes |  |
| `accessStatus` | `string` | Yes |  |

## Raw Schema

```json
{
  "id": "app.didpic.admin.listUsers",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "users"
          ],
          "properties": {
            "users": {
              "type": "array",
              "items": {
                "ref": "#user",
                "type": "ref"
              }
            },
            "cursor": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 200,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          }
        }
      },
      "description": "List indexed actors, newest first."
    },
    "user": {
      "type": "object",
      "required": [
        "did",
        "accessStatus",
        "takedown",
        "firstSeenAt",
        "indexedAt",
        "postCount"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "handle": {
          "type": "string"
        },
        "takedown": {
          "type": "boolean"
        },
        "avatarCid": {
          "type": "string"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime"
        },
        "postCount": {
          "type": "integer"
        },
        "displayName": {
          "type": "string"
        },
        "firstSeenAt": {
          "type": "string",
          "format": "datetime"
        },
        "accessStatus": {
          "type": "string"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
