# tools.ozone.inbox.getAccountStatus

> Published by [ozone-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:33dt5kftu3jq2h5h4jjlqezt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.inbox.getAccountStatus)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.inbox.getAccountStatus/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.inbox.getAccountStatus/examples)

## Definitions

### `tools.ozone.inbox.getAccountStatus`

**Type**: `query`

Get the authenticated account's current standing with this moderation service.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | No | Account to preview. Only Ozone staff can read another account; this does not change its read state. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `expiresAt` | `string` (datetime) | No | Time at which the current suspension expires. Present only for a temporary suspension. |
| `src` | `string` (did) | Yes | DID of the moderation service returning this status. |
| `standing` | `string` | Yes |  |
| `updatedAt` | `string` (datetime) | Yes | Newest account-status update or strike timestamp used to derive this standing, or the Unix epoch when neither exists. This is not a standing-transition timestamp; expiry can change standing without changing this value. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the authenticated account's current standing with this moderation service.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "expiresAt": {
              "description": "Time at which the current suspension expires. Present only for a temporary suspension.",
              "format": "datetime",
              "type": "string"
            },
            "src": {
              "description": "DID of the moderation service returning this status.",
              "format": "did",
              "type": "string"
            },
            "standing": {
              "knownValues": [
                "good",
                "warning",
                "atRisk"
              ],
              "type": "string"
            },
            "updatedAt": {
              "description": "Newest account-status update or strike timestamp used to derive this standing, or the Unix epoch when neither exists. This is not a standing-transition timestamp; expiry can change standing without changing this value.",
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "src",
            "standing",
            "updatedAt"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "Account to preview. Only Ozone staff can read another account; this does not change its read state.",
            "format": "did",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "tools.ozone.inbox.getAccountStatus",
  "lexicon": 1
}
```
