# tools.ozone.inbox.getActionedSubject

> 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.getActionedSubject)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.inbox.getActionedSubject/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.inbox.getActionedSubject/examples)

## Definitions

### `tools.ozone.inbox.getActionedSubject`

**Type**: `query`

Get a subject belonging to the authenticated account, including its moderation action history from this moderation service.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No | Opaque cursor for the next page of this subject's action history. |
| `did` | `string` (did) | No | Account to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential. |
| `limit` | `integer` | No | Maximum number of actions to return. |
| `subject` | `string` (uri) | Yes | DID or AT-URI of the subject to retrieve. |

#### Output

**Encoding**: `application/json`

#### Errors

- **NotFound**: No subject was found, or the authenticated account does not own the subject.

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a subject belonging to the authenticated account, including its moderation action history from this moderation service.",
      "errors": [
        {
          "description": "No subject was found, or the authenticated account does not own the subject.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "tools.ozone.inbox.defs#subjectViewDetail",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Opaque cursor for the next page of this subject's action history.",
            "type": "string"
          },
          "did": {
            "description": "Account to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.",
            "format": "did",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "Maximum number of actions to return.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "subject": {
            "description": "DID or AT-URI of the subject to retrieve.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "subject"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "tools.ozone.inbox.getActionedSubject",
  "lexicon": 1
}
```
