# tools.ozone.report.getLatestReport

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

## Definitions

### `tools.ozone.report.getLatestReport`

**Type**: `query`

Get the most recent report.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `report` | `ref` → `tools.ozone.report.defs#reportView` | Yes |  |

#### Errors

- **NotFound**: No report found.

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the most recent report.",
      "errors": [
        {
          "description": "No report found.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "report": {
              "ref": "tools.ozone.report.defs#reportView",
              "type": "ref"
            }
          },
          "required": [
            "report"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {},
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "tools.ozone.report.getLatestReport",
  "lexicon": 1
}
```
