---
title: "Get list of all visible scenarios"
method: GET
path: "/scenarios/{app_id}/"
tags: ["scenarios"]
---

# Get list of all visible scenarios

`GET /scenarios/{app_id}/`

Get all scenarios for this app that are visible to you.

A scenario object contains the following fields:

- **name**: The name of the scenario
- **owner**: The owner of this scenario
- **tags**: The tags of the scenario
- **last_modified**: The timestamp when the scenario was last modified
- **read_perm**: Array of users/groups that have permissions to read the scenario data (groups are indicated by a leading hash `#`)
- **write_perm**: Array of users/groups that have permissions to modify the scenario data (groups are indicated by a leading hash `#`)
- **exec_perm**: Array of users/groups that have permissions to execute the scenario (groups are indicated by a leading hash `#`)

## Path parameters

- `app_id` string, required — The ID of the app whose data you want to operate on.

## Response `200`

Successful Response

- ScenarioConfig[]
  - `name` string, required
  - `tags` string[], required
  - `owner` string, required
  - `last_modified` string, date-time, required
  - `read_perm` string[], required
  - `write_perm` string[], required
  - `exec_perm` string[], required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

## Changes

- **2022-12-22** `5366dfd18e83` — 1 breaking
  - response property `detail/items/loc/items/` list-of-types was widened by adding types `integer` to media type `application/json` of response `422`
- **2021-12-08** `dae88d8eb1ce` — 1 info
  - endpoint added
- **2021-12-08** `ea0ae3dcf969` — 1 breaking
  - api path removed without deprecation
- **2021-11-22** `f1a3e6959567` — 1 breaking, 1 warning, 4 info
  - removed the required property `items/lastModified` from the response with the `200` status
  - for the `path` request parameter `app_id`, the maxLength was set to `60`
  - added the required property `items/exec_perm` to the response with the `200` status
  - added the required property `items/last_modified` to the response with the `200` status
  - …2 more
- **2021-11-19** `8040d163caad` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gams-dev/apis/miro-server-api/changes/scenarios/:app_id/get.md)

---

[API](https://skmtc.dev/gams-dev/apis/miro-server-api.md) · [All operations](https://skmtc.dev/gams-dev/apis/miro-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gams-dev/miro-server-api/revisions/5366dfd18e83/schema)
