Skip to main content
GET
/
api
/
snoozes
/
{id}
Get Snooze
curl --request GET \
  --url https://api.example.com/api/snoozes/{id} \
  --header 'Authorization: <authorization>'
{
  "data": {
    "snooze": {
      "id": 12,
      "project_id": 4,
      "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
    }
  }
}
Retrieves a single snooze by its ID.

Examples

Request

Authorization
string
required
Bearer token for authentication. Format: Bearer <your-api-key>

Response

data.snooze
object
The snooze object.
{
  "data": {
    "snooze": {
      "id": 12,
      "project_id": 4,
      "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
    }
  }
}

Get a snooze

curl "https://dash.empirical.run/api/snoozes/12" \
  -H "Authorization: Bearer $EMPIRICALRUN_KEY"