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

# Transcripts & statistics

> Every closed ticket is archived. Here's how to get it back and measure how your team is doing.

## Transcripts

When a ticket closes, its full conversation is saved automatically — messages, authors, timestamps, embeds and [form](/setup/tickets/messages#forms) answers. Nothing to configure.

<CodeGroup>
  ```javascript Pull one by case ID theme={null}
  !tickets transcript 42
  ```

  ```javascript Everything for a member theme={null}
  !tickets transcripts @someone
  ```

  ```javascript Your own theme={null}
  !tickets transcripts
  ```
</CodeGroup>

`tickets transcript` aliases: `transcriptpull`, `transcriptget`, `transcriptcase`. `tickets transcripts` alias: `mytranscripts`.

Members can pull their own transcripts without any permission. Staff can pull anyone's.

<Tip>
  Transcripts survive the channel being deleted. That's the point — you can set an aggressive `autodelete` to keep the sidebar clean and still have the full record months later.
</Tip>

## Statistics

<CodeGroup>
  ```javascript Server-wide theme={null}
  !tickets stats
  ```

  ```javascript One member theme={null}
  !tickets stats @someone
  ```
</CodeGroup>

Server stats cover ticket volume, how many are open, and how they break down by panel and option. Member stats show how many they've opened, how many they've claimed, and how many they've closed.

<Note>
  Worth checking monthly. Two things usually show up: one staff member handling most of the volume, and one ticket option nobody ever picks. Both are worth acting on.
</Note>

## Managing open tickets

```javascript theme={null}
!tickets list
```

Every currently open ticket, who opened it, which option, and whether it's claimed. The fastest way to spot tickets that have been sitting unclaimed.

## Closing and deleting

| Command                             | Effect                                                   |
| ----------------------------------- | -------------------------------------------------------- |
| `tickets close [channel] [reason]`  | Saves the transcript and deletes the channel immediately |
| `tickets delete [channel] [reason]` | Deletes the channel, respecting the panel's delete delay |
| `tickets reopen [channel] [reason]` | Reopens a closed ticket                                  |

Run inside the ticket, or pass a channel to act on another one.

The distinction matters: `close` is immediate, `delete` honours the [delete delay](/setup/tickets/panels#delete-delay) so there's a window to reopen. Most staff want `close`; the delay exists for automated deletion.

## Claiming

```javascript theme={null}
!tickets claim
!tickets unclaim
```

Claiming marks who's responsible, and — depending on the option's [permission flags](/setup/tickets/access#the-claim-flags) — may hide the ticket from other staff or stop them speaking. It can also move the channel to a different category and rename it.

`unclaim` releases it back to the pool.

## Retention

Ticket channels and transcripts are separate.

| Setting                     | Controls                                        |
| --------------------------- | ----------------------------------------------- |
| `tickets option autodelete` | How long the **channel** survives after closing |
| `tickets panel deletedelay` | How long a **manually deleted** channel waits   |

Transcripts are kept independently of both, so deleting a channel doesn't lose the record.

A reasonable retention shape:

```javascript theme={null}
// general help — churns fast, clean it up quickly
!tickets option autodelete Support general 3d

// reports — keep the channel around for follow-up
!tickets option autodelete Support report 30d

// appeals — never auto-delete
!tickets option autodelete Support appeal 0
```

## Command reference

| Command                             | Aliases                           | Description                 |
| ----------------------------------- | --------------------------------- | --------------------------- |
| `tickets transcript [case_id]`      | `transcriptpull`, `transcriptget` | Pull a transcript by case   |
| `tickets transcripts [member]`      | `mytranscripts`                   | A member's transcripts      |
| `tickets stats [member]`            | —                                 | Server or member statistics |
| `tickets list`                      | `ls`                              | Open tickets                |
| `tickets claim [channel] [reason]`  | —                                 | Claim a ticket              |
| `tickets unclaim [channel]`         | —                                 | Release it                  |
| `tickets close [channel] [reason]`  | —                                 | Close and archive           |
| `tickets delete [channel] [reason]` | —                                 | Delete, honouring the delay |
| `tickets reopen [channel] [reason]` | —                                 | Reopen a closed ticket      |
