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

# Read the significant events

deprecated

Availability: Experimental since 9.1

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

## Paths

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

#### Path parameters

- `name` (string · max length: 255) — required
  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

## Required authorization

- Privileges: `read_stream`

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## Query string parameters

- `from` (string · max length: 255) — required
  Start of the time range as an ISO 8601 date string.
- `to` (string · max length: 255) — required
  End of the time range as an ISO 8601 date string.
- `bucketSize` (string · max length: 255 · pattern: ^(\d+)([smhd])$) — required
  The bucket size for aggregating events (e.g. "1m", "1h").
- `query` (string · max length: 10000) — optional
  Query string to filter significant events on metadata fields
- `searchMode` (enum) — optional
  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.

`application/json`

## Code examples

#### Console

```console
GET kbn:/api/streams/NAME/significant_events?from=FROM&to=TO&bucketSize=BUCKET_SIZE
{}
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/streams/${NAME}/significant_events?from=${FROM}&to=${TO}&bucketSize=${BUCKET_SIZE}" \
  -H "Authorization: ApiKey ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## 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"
    }
  ]
}
```

