# ooo.bsky.hds.listRecords

> Published by [bsky.ooo](https://lexicon.garden/identity/did:web:bsky.ooo)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:bsky.ooo/ooo.bsky.hds.listRecords)
- [Documentation](https://lexicon.garden/lexicon/did:web:bsky.ooo/ooo.bsky.hds.listRecords/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:bsky.ooo/ooo.bsky.hds.listRecords/examples)

## Definitions

### `ooo.bsky.hds.listRecords`

**Type**: `query`

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `repo` | `string` (at-identifier) | Yes |  |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |
| `collection` | `string` (nsid) | Yes |  |

#### Output

**Encoding**: `application/json`

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

## Raw Schema

```json
{
  "id": "ooo.bsky.hds.listRecords",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "boxes"
          ],
          "properties": {
            "boxes": {
              "type": "array",
              "items": {
                "ref": "ooo.bsky.hidden.box",
                "type": "ref"
              }
            },
            "cursor": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "repo",
          "collection"
        ],
        "properties": {
          "repo": {
            "type": "string",
            "format": "at-identifier"
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          },
          "collection": {
            "type": "string",
            "format": "nsid"
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
