> ## Documentation Index
> Fetch the complete documentation index at: https://monid.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# monid resources events

> List a resource lifecycle event history (oldest first).

List a resource lifecycle event history (oldest first).

## Usage

```bash theme={null}
monid resources events -r <resource-id> [-l <limit>] [--cursor <cursor>] [--json]
```

## Flags

| Flag | Type | Required | Description |
| - | - | - | - |
| `-r, --resource-id <resourceId>` | string | Yes | Resource ID to inspect |
| `-l, --limit <limit>` | number | No | Maximum number of events to list |
| `--cursor <cursor>` | string | No | Pagination cursor |
| `-j, --json` | boolean | No | Output as JSON |

## Examples

```bash theme={null}
# List all events for a resource
monid resources events -r 01HXYZ...

# List the most recent 5 events
monid resources events -r 01HXYZ... -l 5
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.