Skip to main content

Snapshots

Looking for the product view?
The Help Center explains this surface as users see it: Logs, Snapshots & Files.

Library versioning through point-in-time snapshots with restore capability.

GET /api/libraries/{id}/snapshots

List all snapshots for a library.

Authentication: Required

Path Parameters:

ParameterTypeDescription
idstringLibrary ID or natural ID

Response:

An array of the library's snapshots, newest first.

List snapshotsGET /api/libraries/admin:engineering-docs/snapshots
An array of the library’s snapshots, newest first.
Response · 200
[
{
"id": "00000000-0000-4000-8000-000000000001",
"trigger": "manual",
"createdAt": "2026-01-15T16:20:00.000Z",
"fileCount": 2
}
]
Captured from the API examples test suite; ids and timestamps are normalized.

POST /api/libraries/{id}/snapshots

Create a new snapshot of the library.

Authentication: Required

Permissions: Requires library:write permission

Path Parameters:

ParameterTypeDescription
idstringLibrary ID or natural ID

Request Body:

FieldTypeDefaultDescription
limitinteger10Maximum number of snapshots to keep (1-100)
triggerstring"manual"Trigger type: manual, refresh, scheduled

Example:

{
"limit": 10,
"trigger": "manual"
}

Response:

Responds 201 Created with the new snapshot.

Create a snapshotPOST /api/libraries/admin:engineering-docs/snapshots
trigger is one of manual, refresh, scheduled. limit caps how many snapshots are kept (oldest pruned beyond it). Responds 201.
Request body
{
"trigger": "manual",
"limit": 10
}
Response · 201
{
"_links": {
"self": {
"href": "https://informer.example.com/api/libraries/admin%3Aengineering-docs/snapshots"
}
},
"id": "00000000-0000-4000-8000-000000000001",
"fileCount": 3,
"trigger": "manual",
"createdAt": "2026-01-15T16:20:00.000Z"
}
Captured from the API examples test suite; ids and timestamps are normalized.
Automatic Cleanup

If the snapshot count exceeds limit, the oldest snapshots are automatically deleted to maintain the limit.


POST /api/libraries/{id}/snapshots/{snapshotId}/_restore

Restore the library to a previous snapshot state.

Authentication: Required

Permissions: Requires library:write permission

Path Parameters:

ParameterTypeDescription
idstringLibrary ID or natural ID
snapshotIdstring (UUID)Snapshot ID

Response:

Responds 200 with the restored file count.

Restore a snapshotPOST /api/libraries/admin:engineering-docs/snapshots/00000000-0000-4000-8000-000000000001/_restore
Replaces the library’s current files with the snapshot’s files. Responds with the restored file count.
Response · 200
{
"_links": {
"self": {
"href": "https://informer.example.com/api/libraries/admin%3Aengineering-docs/snapshots/00000000-0000-4000-8000-000000000001/_restore"
}
},
"restored": true,
"fileCount": 3
}
Captured from the API examples test suite; ids and timestamps are normalized.
Destructive Operation

Restoring a snapshot deletes all current files in the library and replaces them with the snapshot's files. This cannot be undone unless you create a snapshot beforehand.


DELETE /api/libraries/{id}/snapshots/{snapshotId}

Delete a specific snapshot.

Authentication: Required

Permissions: Requires library:write permission

Path Parameters:

ParameterTypeDescription
idstringLibrary ID or natural ID
snapshotIdstring (UUID)Snapshot ID

Response:

Responds 204 No Content.

Delete a snapshotDELETE /api/libraries/admin:engineering-docs/snapshots/00000000-0000-4000-8000-000000000001
Removes a single snapshot. Responds 204 with no body.
Response · 204 · no body
Captured from the API examples test suite; ids and timestamps are normalized.