Get snapshot schedule for an instance
/instances/{id}/snapshot-schedule
Get snapshot schedule for an instance
Path Parameters
id: string
Returns
Get snapshot schedule for an instance
curl http://localhost:8080/instances/$ID/snapshot-schedule \
-H "Authorization: Bearer $HYPEMAN_API_KEY"
{
"created_at": "2026-03-09T01:00:00Z",
"instance_id": "qilviffnqzck2jrim1x6s2b1",
"interval": "24h",
"next_run_at": "2026-03-10T02:00:00Z",
"retention": {
"max_age": "168h",
"max_count": 7
},
"updated_at": "2026-03-09T01:30:00Z",
"last_error": "invalid state transition: stopped snapshot requires source in Stopped, got Running",
"last_run_at": "2026-03-09T02:00:00Z",
"last_snapshot_id": "q7z1w7l2af4l8y7q1h7g2m3s",
"metadata": {
"team": "backend",
"env": "staging"
},
"name_prefix": "nightly"
}
Returns Examples
{
"created_at": "2026-03-09T01:00:00Z",
"instance_id": "qilviffnqzck2jrim1x6s2b1",
"interval": "24h",
"next_run_at": "2026-03-10T02:00:00Z",
"retention": {
"max_age": "168h",
"max_count": 7
},
"updated_at": "2026-03-09T01:30:00Z",
"last_error": "invalid state transition: stopped snapshot requires source in Stopped, got Running",
"last_run_at": "2026-03-09T02:00:00Z",
"last_snapshot_id": "q7z1w7l2af4l8y7q1h7g2m3s",
"metadata": {
"team": "backend",
"env": "staging"
},
"name_prefix": "nightly"
}