---
title: "Gets the next segment of the Chaos events based on the continuation token or the time range."
method: GET
path: "/Tools/Chaos/Events"
tags: ["Chaos"]
---

# Gets the next segment of the Chaos events based on the continuation token or the time range.

`GET /Tools/Chaos/Events`

To get the next segment of the Chaos events, you can specify the ContinuationToken. To get the start of a new segment of Chaos events, you can specify the time range
through StartTimeUtc and EndTimeUtc. You cannot specify both the ContinuationToken and the time range in the same call.
When there are more than 100 Chaos events, the Chaos events are returned in multiple segments where a segment contains no more than 100 Chaos events and to get the next segment you make a call to this API with the continuation token.

## Query parameters

- `api-version` '6.2', required
- `ContinuationToken` string
- `StartTimeUtc` string
- `EndTimeUtc` string
- `MaxResults` integer
- `timeout` integer

## Response `200`

Next segment of Chaos events.

- ChaosEventsSegment — Contains the list of Chaos events and the continuation token to get the next segment.
  - `ContinuationToken` string — The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response.
  - `History` ChaosEventWrapper[] — An list of Chaos events that were generated during the time range passed into the GetChaosReport API call.
    - `ChaosEvent` ChaosEvent — Represents an event generated during a Chaos run.
      - `Kind` 'Invalid' | 'Started' | 'ExecutingFaults' | 'Waiting' | 'ValidationFailed' | 'TestError' | 'Stopped', required — The kind of Chaos event.
      - `TimeStampUtc` string, date-time, required — The UTC timestamp when this Chaos event was generated.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/versions/6ebed3032b57/schema)
