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

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

datasets = client.datasets.list()
print(f"Found {len(datasets)} datasets")
[
  {
    "id": "<string>",
    "externalId": "<string>",
    "latestRevisionId": "<string>",
    "schema": [
      {
        "id": "<string>",
        "name": "<string>",
        "required": false,
        "type": "<string>",
        "defaultValue": "<string>"
      }
    ],
    "schemaVersion": 123
  }
]

Authorizations

Authorization
string
header
required

API Key created in the Autoblocks Webapp

Path Parameters

appSlug
string
required

Response

200 - application/json

The datasets were returned successfully

The response is of type object[].