---
type: api
title: Read the significant events
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v9/operation/operation-get-streams-name-significant-events
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v9/operation/operation-get-streams-name-significant-events
products:
  - Kibana
---

# Read the significant events

deprecated

Availability: 9.1+

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/streams/{name}/significant_events`
- `GET` `/s/{space_id}/api/streams/{name}/significant_events`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v9/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v9/authentication#basicauth)

#### Path Parameters

- `name` (string · max: 255)
  The name of the stream.

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Read the significant events<br/><br/>[Required authorization] Route required privileges: read_stream.

## Query String Parameters

- `from` (string · max: 255)
  Start of the time range as an ISO 8601 date string.
- `to` (string · max: 255)
  End of the time range as an ISO 8601 date string.
- `bucketSize` (string · max: 255 · pattern: ^(\d+)([smhd])$)
  The bucket size for aggregating events (e.g. "1m", "1h").
- `query` (string · max: 10000)
  Query string to filter significant events on metadata fields
- `searchMode` (enum)
  Search mode: keyword (BM25), semantic (vector), or hybrid (RRF). When omitted, defaults to hybrid with a silent keyword fallback on failure. When set explicitly, failures propagate as errors.
  Values: `keyword`, `semantic`, `hybrid`

## Request Body

`application/json`

Any of:
- **object**
- **object**
- **object**

## Response

Significant events for the stream.

## Code Examples

#### Console

```console
GET /api/streams/{name}/significant_events?from={from}&to={to}&bucketSize={bucketSize}
```

#### curl

```curl
curl -X GET "https://{kibana_url}/api/streams/{name}/significant_events?from={from}&to={to}&bucketSize={bucketSize}"
```

## Response Examples

#### Query occurrences

```json
{
  "aggregated_occurrences": [
    {
      "count": 42,
      "date": "2025-01-15T10:00:00.000Z"
    },
    {
      "count": 18,
      "date": "2025-01-15T11:00:00.000Z"
    },
    {
      "count": 7,
      "date": "2025-01-15T12:00:00.000Z"
    }
  ],
  "queries": [
    {
      "change_points": {
        "type": {
          "spike": {
            "change_point": 1,
            "p_value": 0.002
          }
        }
      },
      "description": "Count error-level log events grouped by host name",
      "esql": {
        "query": "FROM logs.nginx | WHERE log.level == \u0022error\u0022 | STATS count = COUNT(*) BY host.name"
      },
      "id": "error-count-by-host",
      "occurrences": [
        {
          "count": 42,
          "date": "2025-01-15T10:00:00.000Z"
        },
        {
          "count": 18,
          "date": "2025-01-15T11:00:00.000Z"
        },
        {
          "count": 7,
          "date": "2025-01-15T12:00:00.000Z"
        }
      ],
      "rule_backed": false,
      "severity_score": 75,
      "stream_name": "logs.nginx",
      "title": "Error count by host",
      "type": "match"
    }
  ]
}
```

