Get a Valkey snapshot schedule

Get a Valkey instance's snapshot schedule, with how often it runs and when it last ran.

GET https://{availability_zone}.betterstackcloud.com/v1/valkey/{valkey_id}/scheduled-snapshots/{id}
valkey_id string required

The ID of the valkey the Valkey scheduled snapshot belongs to.

id string required

The ID of the Valkey scheduled snapshot to get.

Authorization string required

Bearer $TOKEN

200 OK
{
  "id": "example",
  "valkey_id": "123456789",
  "server_id": "123456789",
  "frequency": "hourly",
  "last_run_at": "2026-07-01T12:00:00.000Z",
  "created_at": "2026-07-01T12:00:00.000Z",
  "updated_at": "2026-07-01T12:00:00.000Z"
}

Returns the Valkey scheduled snapshot.

id string

The schedule ID, a UUID.

valkey_id string

The ID of the Valkey instance.

server_id string

The ID of the server behind the instance's current primary, which changes to the new primary's server after a failover.

frequency string

How often we create a snapshot. A monthly schedule follows calendar months. Possible values: hourly, daily, weekly, monthly.

last_run_at datetime or null

When the schedule last ran, or null before the first run. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

created_at datetime

When the schedule was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

updated_at datetime

When the schedule was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.