# space.highport.manage.listSpaceEvents

> Published by [lexicons.highport.space](https://lexicon.garden/identity/did:plc:ciygg5hma4q7ah2kxaszkyob)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.listSpaceEvents)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.listSpaceEvents/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.listSpaceEvents/examples)

## Definitions

### `space.highport.manage.listSpaceEvents`

**Type**: `query`

Events in a space, as bard saw them. Pass the last seq returned as the cursor. Available to the authority and viewers.

#### Parameters

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

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