# lol.dids.manage.listSpaceEvents

> Published by [ngerakines.me](https://lexicon.garden/identity/did:plc:cbkjy5n7bk3ax2wplmtjofq2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.manage.listSpaceEvents)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.manage.listSpaceEvents/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.manage.listSpaceEvents/examples)

## Definitions

### `lol.dids.manage.listSpaceEvents`

**Type**: `query`

What has happened in a space as bard saw it. The cursor is the last seq returned. Authority and viewers.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No | Maximum entries to return. |
| `space` | `string` (at-uri) | Yes |  |
| `cursor` | `string` | No | The last seq seen; events after it are returned. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No | Present when more entries exist. |
| `events` | `array` | Yes |  |

#### Errors

- **SpaceNotFound**: Bard is not connected to that space, or the caller is neither its authority nor a viewer.

## Raw Schema

```json
{
  "id": "lol.dids.manage.listSpaceEvents",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "SpaceNotFound",
          "description": "Bard is not connected to that space, or the caller is neither its authority nor a viewer."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "events"
          ],
          "properties": {
            "cursor": {
              "type": "string",
              "description": "Present when more entries exist."
            },
            "events": {
              "type": "array",
              "items": {
                "ref": "lol.dids.defs#spaceEvent",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "space"
        ],
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum entries to return."
          },
          "space": {
            "type": "string",
            "format": "at-uri"
          },
          "cursor": {
            "type": "string",
            "description": "The last seq seen; events after it are returned."
          }
        }
      },
      "description": "What has happened in a space as bard saw it. The cursor is the last seq returned. Authority and viewers."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
