---
title: "retrieve a saved chaos profile"
method: GET
path: "/mockserver/chaosExperiment/profiles/{name}"
tags: ["chaos"]
---

# retrieve a saved chaos profile

`GET /mockserver/chaosExperiment/profiles/{name}`

## Request

- Base URL: `http://localhost:1080`
- URL: `http://localhost:1080/mockserver/chaosExperiment/profiles/{name}`
- Auth: none declared

returns the full saved chaos experiment definition stored under the given name

## Path parameters

- `name` string, required

## Response `200`

saved profile returned

- ChaosExperiment: a scheduled multi-stage chaos experiment definition (the body of PUT /mockserver/chaosExperiment)
  - `name` string: human-readable experiment name (ignored when saved under a path {name})
  - `loop` boolean: whether to loop back to stage 0 after the last stage completes (default false)
  - `stages` object[], required: ordered sequence of stages
    - `durationMillis` integer, required: how long this stage runs before advancing (max 86400000 = 24h)
    - `profiles` object, required: map of host -> chaos profile to apply during this stage

## Other responses

- `404`: no chaos profile with the given name

---

[API](https://skmtc.dev/mock-server/apis/mockserver-api.md) · [All operations](https://skmtc.dev/mock-server/apis/mockserver-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mock-server/apis/mockserver-api/revisions/9239b693996e?raw)
