prompts_prompt_history
List past versions of a prompt template's prompt_text. Every edit is snapshotted to an append-only table — use this to browse history and find a version_number for prompts.prompt_restore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max versions to return (1-200, default 50) | |
| prompt_id | Yes | ID of the prompt template | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| before_version | No | Cursor: return versions strictly below this version_number |