Get snapshot
Get snapshot
Get a snapshot for an environment.
`snapshot_expression` can be specified as follows:
- `N`: the Nth snapshot, counting from 1. Negative values count from the latest snapshot i.e. -1 is the latest snapshot.
example: 42
- `~N`: the Nth snapshot behind the latest, at the time of the request
example: ~5
- `@{YYYY-MM-DDTHH:MM:SS}`: the snapshot at specific moment in time in UTC
example: @{2023-10-02T12:00:00}
- `@{N.<hours|days|weeks|months>.ago}`: the snapshot at a time relative to the time of the request. N is a positive integer.
example: @{2.hours.ago}
- `@{now}`: the snapshot at the time of the request
example: @{now}
GET
Get snapshot
Documentation Index
Fetch the complete documentation index at: https://kosli-kosli-next.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
200 - application/json
Successful Response
The index of the snapshot
True if this snapshot is the most recent
The number of compliant and non-compliant artifacts in the snapshot
The timestamp of the snapshot creation
The type of the environment
Whether the snapshot is compliant
The HTML URL to the snapshot
The list of artifacts in the snapshot
The list of policies applied to this snapshot
The creation timestamp of the next snapshot if one exists
Last modified on May 22, 2026