curl --request GET \
--url https://dash.empirical.run/api/snoozes/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"snooze": {
"id": 12,
"test_ids": [
"a30a6eba6312f6b87ea5-55e241fbe3f4b8ae61ee"
],
"snooze_until": "2026-04-15T00:00:00.000Z",
"description": "Flaky due to third-party API instability",
"created_from_test_run_id": 456,
"created_by": null,
"created_at": "2026-03-15T10:30:00.000Z",
"updated_at": "2026-03-15T10:30:00.000Z",
"scoped_to_environment_id": null
}
}
}
Retrieve a snooze by ID
curl --request GET \
--url https://dash.empirical.run/api/snoozes/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"snooze": {
"id": 12,
"test_ids": [
"a30a6eba6312f6b87ea5-55e241fbe3f4b8ae61ee"
],
"snooze_until": "2026-04-15T00:00:00.000Z",
"description": "Flaky due to third-party API instability",
"created_from_test_run_id": 456,
"created_by": null,
"created_at": "2026-03-15T10:30:00.000Z",
"updated_at": "2026-03-15T10:30:00.000Z",
"scoped_to_environment_id": null
}
}
}
{
"data": {
"snooze": {
"id": 12,
"test_ids": [
"a30a6eba6312f6b87ea5-55e241fbe3f4b8ae61ee"
],
"snooze_until": "2026-04-15T00:00:00.000Z",
"description": "Flaky due to third-party API instability",
"created_from_test_run_id": 456,
"created_by": null,
"created_at": "2026-03-15T10:30:00.000Z",
"updated_at": "2026-03-15T10:30:00.000Z",
"scoped_to_environment_id": null
}
}
}
curl "https://dash.empirical.run/api/snoozes/12" \
-H "Authorization: Bearer $EMPIRICALRUN_KEY"
Was this page helpful?