# Event log

> Every state change, newest first

Source: https://tickets.roostertail.com/docs/reference/event_log

Every operation below is also in [the OpenAPI document](https://tickets.roostertail.com/v1/openapi.yaml). One that names an MCP tool can be called through [the MCP server](https://tickets.roostertail.com/docs/mcp.md); one that names none cannot.

## List changes

`GET /v1/event_log`

Operation id `listEventLog`. MCP tool `list_event_log`. SDK `tickets.eventLog.list`.

The change log: every state change as a row (`log_…`), newest first, filtered by type, event, order or ticket. Poll it, or use webhooks, to learn what happened.

**Who may call it.** Any one of: An API key with scope `full`, `read`. Any other scope answers `insufficient_scope`; A signed-in dashboard member whose role has `read` (owner, admin, staff, viewer).

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `limit` | query | integer | How many to return, 1 to 100 (default 20). |
| `starting_after` | query | string | An id from the page before: the page after it. |
| `ending_before` | query | string | An id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other… |
| `type` | query | "event.created" \| "event.updated" \| "event.published" \| "event.paused" \| "event.resumed" \| "event.ended" \| "event.postponed" \| "event.cancelled" \| "ticket_type.created" \| "ticket_type.updated" \| "add_on.created" \| "add_on.updated" \| "code.created" \| "code.updated" \| "hold.created" \| "hold.updated" \| "hold.extended" \| "hold.released" \| "hold.expired" \| "order.created" \| "order.paid" \| "order.tickets_issued" \| "order.updated" \| "order.cancelled" \| "order.refunded" \| "order.exchanged" \| "order.disputed" \| "order.dispute_closed" \| "order.dispute_updated" \| "refund.succeeded" \| "refund.failed" \| "payment.succeeded" \| "payment.failed" \| "dispute.opened" \| "dispute.updated" \| "dispute.closed" \| "payout.paid" \| "payout.failed" \| "inventory.returned" \| "inventory.adjusted" \| "ticket.issued" \| "ticket.updated" \| "ticket.reissued" \| "ticket.exchanged" \| "ticket.transferred" \| "ticket.voided" \| "ticket.frozen" \| "ticket.unfrozen" \| "ticket.checked_in" \| "ticket.checkin_undone" \| "transfer.created" \| "transfer.accepted" \| "transfer.cancelled" \| "transfer.expired" \| "exchange.created" \| "exchange.completed" \| "exchange.cancelled" \| "exchange.expired" \| "checkin_conflict.created" \| "checkin_conflict.resolved" \| "device.created" \| "device.paired" \| "device.updated" \| "device.revoked" \| "device.expired" \| "door_sale.created" \| "close_out.created" \| "wallet_message.created" \| "partner.created" \| "partner.updated" \| "tracking_link.created" \| "buyer.erased" | What changed. The list only grows; an endpoint gets only the types it asked for. |
| `event` | query | string | An id starting with evt_. |
| `order` | query | string | An id starting with ord_. |
| `ticket` | query | string | An id starting with tkt_. |
| `created_gte` | query | string (date-time) | Only those created at or after this instant. |
| `created_lt` | query | string (date-time) | Only those created before this instant. |

**Answers 200.** A page of the event log, newest first.

**Fields**

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "list" |  |
| `data` * | array of EventLogEntry | This page, newest first. |
| `has_more` * | boolean | True when there is another page: pass the last id of `data` as starting_after, or the last id of `unreadable` when `data` is empty. |
| `url` * | "/v1/event_log" | The path this list came from (/v1/event_log). |
| `unreadable` | array of object | Rows of this page the service could not read, in place of showing them: they exist and are kept, so a page without them is not the whole list. Absent when there are none. A page names at most 25; past that it stops and… |

\* required

## Retrieve one change

`GET /v1/event_log/{id}`

Operation id `getEventLogEntry`. MCP tool `get_event_log_entry`. SDK `tickets.eventLog.retrieve`.

One row of the event log: its type, when it happened, who did it and the resource it is about.

**Who may call it.** Any one of: An API key with scope `full`, `read`. Any other scope answers `insufficient_scope`; A signed-in dashboard member whose role has `read` (owner, admin, staff, viewer).

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` * | path | string | An id starting with log_. |

**Answers 200.** The entry.

**Fields** (`EventLogEntry`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "event_log_entry" |  |
| `id` * | string | An id starting with log_. |
| `mode` * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
| `type` * | EventLogType | What changed. The list only grows; an endpoint gets only the types it asked for. |
| `created_at` * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `event` * | string \| null | The event (festival) it concerns, when one. |
| `data` * | object |  |
| `related` * | object | Ids of other records the change involved. |
| `actor` * | Actor | Who made a change. |
| `request_id` * | string \| null | The API request that made the change; null for triggers and sweepers. |

\* required
