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

# Queue Management

> Inspect and change pending tracks without affecting another server's session.

## Inspect pages

`/queue pagina` shows a page of pending tracks. `/history pagina` reads recently played tracks.

```headless-command Syntax theme={null}
/queue [pagina]
```

```headless-command Example theme={null}
/queue pagina: 1
```

## Reorder and remove

`/shuffle` randomizes pending tracks; `/aleatorio` chooses a pending track for the next position; `/remove posicion` deletes one entry.

```headless-command Syntax theme={null}
/shuffle
```

```headless-command Example theme={null}
/shuffle
```

## Clear or stop

`/clear` empties the queue while the current track keeps playing. `/stop` stops the player and clears the queue.

```headless-command Syntax theme={null}
/clear
```

```headless-command Example theme={null}
/clear
```

## Related pages

* [Playing Music](/docs/en/voice/music/playing-music.md)
* [Player Controls](/docs/en/voice/music/player-controls.md)


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