---
title: "alpacon token ls"
description: "List API tokens with their names, creation dates, and expiration dates. Use the list alias or JSON output to inspect issued tokens from the Alpacon CLI."
---

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

# alpacon token ls

List API tokens and their current details.

## Usage

`alpacon token ls [flags]`

## Key facts

- The list includes names, creation dates, and expiration dates.
- Use `--output json` for scripts.

Aliases: `ls`, `list`

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | help for ls | `false` |
| `--output` | `string` | Output format: table or json | `table` |

## Examples

List all API tokens

```bash
alpacon token ls
alpacon token list
```

Source: https://docs.alpacax.com/reference/cli/token/ls/
