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

# List Prompt Versions

> Retrieve the version history of an AI prompt via the WISEPIM API. Track prompt changes over time and reference previous configurations for auditing purposes.

Get the version history of a specific prompt template.

### Path Parameters

<ParamField path="id" type="integer" required>
  The ID of the prompt
</ParamField>

### Response

<ResponseField name="versions" type="array">
  List of prompt versions
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "versions": [
      {
        "version_number": "1.0.0",
        "prompt_text": "Original prompt text",
        "created_at": "2024-01-01T12:00:00Z"
      },
      {
        "version_number": "1.0.1",
        "prompt_text": "Updated prompt text",
        "created_at": "2024-01-02T12:00:00Z"
      }
    ]
  }
  ```
</ResponseExample>
