---
title: "Get all scenarios"
method: GET
path: "/v1/mock-apis/{mockApiId}/scenarios"
tags: ["State"]
---

# Get all scenarios

`GET /v1/mock-apis/{mockApiId}/scenarios`

## Query parameters

- `detail` 'summary'

## Response `200`

All scenarios

- object
  - `scenarios` union[]
    - union
      - Scenario
        - `id` string — The scenario ID
        - `name` string — The scenario name
        - `possibleStates` string[]
        - `state` string — The current state of this scenario
      - ScenarioSummary
        - `name` string — The scenario name
        - `state` string — The current state of this scenario

---

[API](https://skmtc.net/wiremock/apis/wiremock-cloud.md) · [All operations](https://skmtc.net/wiremock/apis/wiremock-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wiremock/wiremock-cloud/revisions/93bebefc672f/schema)
