# ai.newnal.illi.events.list

> Published by [illi-service.newnal.id](https://lexicon.garden/identity/did:plc:uztm7bi2ce42dez3uu3qafro)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.events.list)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.events.list/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.events.list/examples)

## Definitions

### `ai.newnal.illi.events.list`

**Type**: `query`

Events of a home after a cursor (polling and native catch-up; the SSE stream at GET /events serves the same log).

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `homeId` | `string` (tid) | Yes |  |
| `limit` | `integer` | No |  |
| `since` | `integer` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `integer` | No |  |
| `events` | `array` | Yes |  |

#### Errors

- **NotMember**
- **HomeNotFound**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Events of a home after a cursor (polling and native catch-up; the SSE stream at GET /events serves the same log).",
      "errors": [
        {
          "name": "NotMember"
        },
        {
          "name": "HomeNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "integer"
            },
            "events": {
              "items": {
                "ref": "ai.newnal.illi.events.defs#event",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "events"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "homeId": {
            "format": "tid",
            "type": "string"
          },
          "limit": {
            "default": 100,
            "maximum": 500,
            "minimum": 1,
            "type": "integer"
          },
          "since": {
            "default": 0,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "homeId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.illi.events.list",
  "lexicon": 1
}
```
