GET
/
apps
/
{appSlug}
/
scenarios
from autoblocks.api.app_client import AutoblocksAppClient

client = AutoblocksAppClient(
  api_key="<YOUR_API_KEY>",
  app_slug="my-app",
)

scenarios = client.scenarios.list_scenarios()
{
  "scenarios": [
    {
      "id": "cm83i1gtw00000cle3nf0gmtw"
    },
    {
      "id": "cm83i1gtw00000cle3nf0gmty"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key created in the Autoblocks Webapp

Path Parameters

appSlug
string
required

Response

200 - application/json

The scenario IDs were returned successfully

The response is of type object.