---
title: "alpacon websh records"
description: "Retrieve or search masked terminal records within a Websh session. Filter by command text and limit the number of results. Available on paid plans only."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# alpacon websh records

Retrieve or search masked terminal records from a Websh session.

## Usage

`alpacon websh records SESSION_ID [flags]`

## Key facts

- Use `--query` for a fuzzy search by command text.
- Use `--limit` to change the maximum record count from 100.
- Aliases: `rec`

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | Show command help. | `false` |
| `-n, --limit` | `int` | Maximum number of records to fetch | `100` |
| `-q, --query` | `string` | Search records by command text (fuzzy match) | — |
| `--output` | `string` | Output format: `table` or `json`. Inherited by all commands. | `table` |

## Examples

Fetch records for a session

```bash
alpacon websh records abc123
```

Search records by command text

```bash
alpacon websh records abc123 --query docker
```

Use short flags to search with a limit

```bash
alpacon websh rec abc123 -q "sudo reboot" -n 50
```

Terminal records are available on paid plans only.

Source: https://docs.alpacax.com/reference/cli/websh/records/
