# 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 |
|----------|------|----------|-------------|
| `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": "space.highport.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": "space.highport.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": "Events in a space, as bard saw them. Pass the last seq returned as the cursor. Available to the authority and viewers."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
