list_versions
Lists the saved versions of the schema, MOST RECENT FIRST. Serves to find the version number to restore. The response carries total (the EXACT number of versions, not the size of the page) and hasMore: an active project holds hundreds, so the last row returned is not the end of the history. Pagination goes through offset/limit (default 50, max 200). ⚠️ To FIND a named version (a restore point such as Synchro …, a milestone), query filters on the LABEL across the WHOLE history, not only within the page — it is the only way to reach an old version without paging through. If the response carries indexUnavailable, the list comes from a capped fallback without total: it does not prove that a version does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of versions to return (default 50, maximum 200). | |
| query | No | Filter on the LABEL of the version (substring, case-insensitive). Searches the WHOLE history, not only the page — it is the way to find a named restore point (e.g. `Synchro …`) beyond the latest versions. It does not apply to the CONTENT of the schema. | |
| offset | No | Offset from the MOST RECENT version (0 = the latest). `total`/`hasMore` in the response say what is left to browse of the history. | |
| _unused | No | ||
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |