# Live: Get Pallet Events

Returns the event definitions exposed by a runtime pallet.

_Source: https://beta.taostats.io/docs/api-reference/rpc-live/get-live-pallets-pallet-id-events_

_Last reviewed: 2026-09-18_

```http
GET https://api.taostats.io/api/v1/live/pallets/{pallet_id}/events
```

Requires an API key in the `Authorization` header.

Returns the event definitions exposed by a runtime pallet. These are event metadata, rather than a history of emitted chain events.

## Try it

Try this request in the browser on the HTML version of this page, or use the code samples below.

### Code samples

**cURL**

```bash
curl -H "Authorization: <YOUR_API_KEY>" \
  "https://api.taostats.io/api/v1/live/pallets/{pallet_id}/events"
```

**JavaScript**

```js
const response = await fetch('https://api.taostats.io/api/v1/live/pallets/{pallet_id}/events', {
  headers: {
    Authorization: '<YOUR_API_KEY>',
  },
});
const data = await response.json();
```

**Python**

```python
import requests

response = requests.get(
    "https://api.taostats.io/api/v1/live/pallets/{pallet_id}/events",
    headers={"Authorization": "<YOUR_API_KEY>"},
)
data = response.json()
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `pallet_id` | path | `string` | Yes |  |

## Responses

### `200` — Response

| Field | Type | Required |
| --- | --- | --- |
| `at` | `object` | Yes |
| `at.hash` | `string` | Yes |
| `at.height` | `string` | Yes |
| `items` | `array` | Yes |
| `items[].args` | `array` | Yes |
| `items[].args[]` | `string` | Yes |
| `items[].docs` | `array` | Yes |
| `items[].docs[]` | `string` | Yes |
| `items[].fields` | `object` | Yes |
| `items[].index` | `string` | Yes |
| `items[].name` | `string` | Yes |
| `pallet` | `string` | Yes |
| `palletIndex` | `string` | Yes |

**Example response**

```json
{}
```

Every request needs an `Authorization` header holding your API key — see [Getting started with the Taostats API](https://beta.taostats.io/docs/start-here/getting-started-with-taostats-api).
