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

# Get Event

> Get events

Retrieve all events and their schema mappings from a workspace. Returns event definitions including names, descriptions, and payload schemas.

## Syntax

```bash theme={"system"}
suprsend event get [flags]
```

## Flags

| Flag                  | Description                    | Default |
| --------------------- | ------------------------------ | ------- |
| `-h, --help`          | Show help for the command      | –       |
| `-o, --output string` | Output format (`json`, `yaml`) | `json`  |

<Tip>
  Use `-o json` for machine-readable JSON output, `-o yaml` for YAML.
</Tip>

## Example

```bash theme={"system"}
# Get all events and schema mappings
suprsend event get

# Get events in YAML format
suprsend event get --output yaml

# Get events from production workspace
suprsend event get --workspace production
```
