API Reference
Get all scenario IDs for the app
Python
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" } ] }
API Key created in the Autoblocks Webapp
The scenario IDs were returned successfully
The response is of type object.
object