Apache Superset
This recipe generates the superset CLI and agent Skill for the
Apache Superset analytics and BI API.
It keeps only the reproducible Lathe inputs: the OpenAPI spec is pinned from the Superset repository, and generated code is not the source of truth.
Module
superset: dashboards, charts, datasets, databases, queries, reports, security, and other Superset API operations (273 commands across 38 groups).
The overlay excludes three operations whose parameter or multipart schemas Lathe v0.7.0-rc.1 does not support:
GET /api/v1/security/roles/search/POST /api/v1/database/{pk}/upload/POST /api/v1/database/upload_metadata/
Auth
Superset uses JWT bearer tokens. Obtain an access token from
POST /api/v1/security/login, then:
superset auth login --hostname <superset-host>
auth status validates the token against GET /api/v1/me/:
superset auth status --hostname <superset-host>
Install the Skill
The recipe enables the bundled Agent Skill (skill.bundle in cli.yaml):
superset skill install --scope user --agent codex --yes
Agent workflow
superset commands schema --json
superset commands --json
superset search "list dashboards" --json
superset commands show superset dashboards get-api-v1dashboard --json
Search results are discovery only. Inspect command details before execution.
Source inputs
The recipe pins the Superset OpenAPI spec from:
https://github.com/apache/superset.git docs/static/resources/openapi.json
Bump pinned_tag in specs/sources.yaml when upgrading the Superset API
version.