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

# roark agent prompt version list

> List a prompt's versions

Returns the full version history of a single prompt lineage, newest first.

```bash Synopsis theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark agent prompt version list <agent-id> <prompt-id> [options]
```

> [!NOTE]
>
> Calls `GET /v1/agent/{agentId}/prompts/{promptId}/versions`

## Arguments

**agent-id** `string` *required*

The agent-id.

**prompt-id** `string` *required*

The prompt-id.

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark agent prompt version list <agent-id> <prompt-id>
```

Every command also takes the [global options](/cli-reference/overview.md#global-options) and sets one
of the [exit codes](/cli-reference/overview.md#exit-codes).


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