# social.grain.admin.getReviewSubject

> Everything needed to judge one account: its status, the labels on it and on its records, the reports against them, a sample of its records and how many it has of each kind. Requires an admin session.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.admin.getReviewSubject)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.admin.getReviewSubject/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.admin.getReviewSubject/analytics)

## Query (`social.grain.admin.getReviewSubject`)

Type: query · GET

### Parameters (query string)

- `did` (string · did, required)

### Output (application/json)

- `childSafety` (boolean, required): Whether a child-safety report or label (csae) was ever made against the account or one of its records, in any state: what it holds is for a person to judge, never a model.
- `counts` (array, required)
  - `items` (ref)
    - Reference: `social.grain.admin.defs#collectionCount`
- `did` (string · did, required)
- `handle` (string · handle)
- `labels` (array, required): The labels standing on the account and on each of its records.
  - `items` (ref)
    - Reference: `com.atproto.label.defs#label`
- `records` (array, required): The newest few of each collection.
  - `items` (ref)
    - Reference: `social.grain.admin.defs#recordView`
- `reports` (array, required): Every report against the account or one of its records, newest first.
  - `items` (ref)
    - Reference: `social.grain.admin.defs#reportView`
- `status` (string)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Everything needed to judge one account: its status, the labels on it and on its records, the reports against them, a sample of its records and how many it has of each kind. Requires an admin session.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "childSafety": {
              "description": "Whether a child-safety report or label (csae) was ever made against the account or one of its records, in any state: what it holds is for a person to judge, never a model.",
              "type": "boolean"
            },
            "counts": {
              "items": {
                "ref": "social.grain.admin.defs#collectionCount",
                "type": "ref"
              },
              "type": "array"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "handle": {
              "format": "handle",
              "type": "string"
            },
            "labels": {
              "description": "The labels standing on the account and on each of its records.",
              "items": {
                "ref": "com.atproto.label.defs#label",
                "type": "ref"
              },
              "type": "array"
            },
            "records": {
              "description": "The newest few of each collection.",
              "items": {
                "ref": "social.grain.admin.defs#recordView",
                "type": "ref"
              },
              "type": "array"
            },
            "reports": {
              "description": "Every report against the account or one of its records, newest first.",
              "items": {
                "ref": "social.grain.admin.defs#reportView",
                "type": "ref"
              },
              "type": "array"
            },
            "status": {
              "type": "string"
            }
          },
          "required": [
            "did",
            "records",
            "counts",
            "labels",
            "reports",
            "childSafety"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.grain.admin.getReviewSubject",
  "lexicon": 1
}
```
