Create a prompt version checkpoint
Prompts
Create a prompt version checkpoint
Snapshots the prompt text into a new immutable version. If prompt text is omitted, the current prompt body is used. Returns the new version document; if the text is unchanged from the latest version, the request is treated as a no-op and skipped is true.
POST
Create a prompt version checkpoint
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
Version saved (or no-op when unchanged)
Example:
{
"_id": "65f9b1c2e8a1d4e001a0b1c3",
"version": 4,
"label": "Friendlier tone",
"displayVersion": "v1.3",
"title": "Tone update",
"description": "Softened the opening line.",
"source": "manual_save",
"createdAt": "2026-04-22T10:14:00.000Z",
"matchesCurrentPrompt": true,
"preview": "<prompt><role>Leasing assistant</role>..."
}