Templates
List Template Versions
List version snapshots for a template. Snapshots are created automatically before every update, enabling rollback if a PUT accidentally overwrites the schema.
GET
List Template Versions
Documentation Index
Fetch the complete documentation index at: https://docs.spitshake.io/llms.txt
Use this file to discover all available pages before exploring further.
Path parameters
Template ID (e.g.,
tpl_7VQhP2tM9xA1kR8bN).Response
Returns an array of version snapshots, newest first (max 20).| Field | Type | Description |
|---|---|---|
id | integer | Version ID. Use this with the Restore Version endpoint. |
version_number | integer | Sequential version number. |
field_count | integer | Number of fields in the schema at this version. |
change_summary | string | Description of what triggered the snapshot. |
created_at | string | ISO 8601 timestamp when the snapshot was created. |
Example
Snapshots are created automatically before every
PUT /api/templates/:id update and before submitter remapping. You don’t need to create them manually.List Template Versions