@thinkingai/ae-cli 6.0.22 → 6.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{auth-RDN6D5HU.js → auth-7TQRGLBC.js} +13 -15
- package/dist/auth-MEJ642P4.js +13 -0
- package/dist/chunk-2NDGFQHW.js +190 -0
- package/dist/{chunk-5FBLRSMU.js → chunk-7QQ4233A.js} +3 -3
- package/dist/{chunk-U6QPKCN3.js → chunk-AJTH7LT3.js} +10 -116
- package/dist/chunk-BXMXMUD7.js +254 -0
- package/dist/chunk-C4DH76LX.js +59 -0
- package/dist/chunk-GWZ5MYWE.js +209 -0
- package/dist/{chunk-E34XH4GW.js → chunk-KCA6BA5D.js} +8 -8
- package/dist/{chunk-XE2PI5DS.js → chunk-KGJQCYVC.js} +1 -1
- package/dist/chunk-LG5YT7P7.js +59 -0
- package/dist/{chunk-2W7HULUD.js → chunk-MDJGDI6K.js} +2 -2
- package/dist/{chunk-H52CSLJW.js → chunk-R77JT7XD.js} +53 -6
- package/dist/{chunk-WPXHCP4A.js → chunk-YCLVYFK7.js} +52 -9
- package/dist/{chunk-4EUZRJPO.js → chunk-YNQFYBDB.js} +102 -14
- package/dist/{chunk-YACCPUNQ.js → chunk-ZAOL36CG.js} +1 -1
- package/dist/cli-token-TVQRSE46.js +18 -0
- package/dist/{client-VTJMUZ4O.js → client-2643Z5AG.js} +3 -3
- package/dist/{config-2SDTLGOC.js → config-ZVPARN4R.js} +4 -9
- package/dist/index.js +27 -24
- package/dist/{metadata-JZ2OTWBK.js → metadata-IPSPQBX3.js} +56 -65
- package/dist/metadata-N5REJ7R7.js +411 -0
- package/dist/{model-ZYMRN4VS.js → model-T3KZJWLW.js} +2 -2
- package/dist/{raw-NGYHAL3F.js → raw-OHSUK42D.js} +4 -4
- package/dist/{sync-JVLX6TGW.js → sync-ULT5SECP.js} +3 -3
- package/dist/{te-agent-QPZTLHPH.js → te-agent-QLIVKRUN.js} +1146 -61
- package/dist/{te-analysis-WWX3Z6RP.js → te-analysis-2U5EPXQC.js} +1213 -341
- package/dist/te-analysis-QMZ2UH7F.js +2419 -0
- package/dist/{te-audience-UXGHUVBB.js → te-audience-PVMKQAFH.js} +5 -5
- package/dist/te-audience-XMRMVD2V.js +599 -0
- package/dist/{te-common-7XXH73MF.js → te-common-CFGQXTFV.js} +5 -5
- package/dist/te-common-SDB3O2QG.js +130 -0
- package/dist/{te-community-QKE67HR2.js → te-community-6A7LKYUH.js} +5 -5
- package/dist/te-community-GMWFGILT.js +687 -0
- package/dist/te-dataops-6LIPYNGH.js +1864 -0
- package/dist/{te-dataops-6W7NNYST.js → te-dataops-Z53CTG2U.js} +90 -68
- package/dist/{te-engage-NCFAQFX3.js → te-engage-AGREUOW7.js} +30 -15
- package/dist/te-engage-MIIUKY6M.js +1525 -0
- package/dist/{te-kb-K5BQYUCM.js → te-kb-KQJ53M3A.js} +4 -4
- package/dist/{te-meta-LJZBOSMO.js → te-meta-QLANJ4B4.js} +5 -5
- package/dist/te-meta-TOA6FWDE.js +595 -0
- package/dist/{te-team-DHK5R7MV.js → te-team-TQGMNHQQ.js} +5 -5
- package/package.json +3 -1
- package/skills/ae-agent/SKILL.md +158 -189
- package/skills/ae-agent/references/accept-skill-share.md +39 -0
- package/skills/ae-agent/references/add-attachment.md +57 -0
- package/skills/ae-agent/references/add-mcp.md +75 -0
- package/skills/ae-agent/references/add-model.md +70 -0
- package/skills/ae-agent/references/add-skill.md +71 -0
- package/skills/ae-agent/references/approve-skill.md +41 -0
- package/skills/ae-agent/references/attachment-stats.md +50 -0
- package/skills/ae-agent/references/auto-provision-mcp-credentials.md +57 -0
- package/skills/ae-agent/references/cancel-skill-submission.md +39 -0
- package/skills/ae-agent/references/copy-skill.md +53 -0
- package/skills/ae-agent/references/create-agent.md +71 -0
- package/skills/ae-agent/references/create-automation.md +99 -0
- package/skills/ae-agent/references/del-agent.md +38 -0
- package/skills/ae-agent/references/del-attachment.md +35 -0
- package/skills/ae-agent/references/del-mcp.md +35 -0
- package/skills/ae-agent/references/del-model.md +37 -0
- package/skills/ae-agent/references/del-skill-asset.md +41 -0
- package/skills/ae-agent/references/del-skill-reference.md +41 -0
- package/skills/ae-agent/references/del-skill-script.md +41 -0
- package/skills/ae-agent/references/del-skill.md +36 -0
- package/skills/ae-agent/references/edit-skill.md +64 -0
- package/skills/ae-agent/references/get-agent.md +37 -0
- package/skills/ae-agent/references/get-skill-content.md +36 -0
- package/skills/ae-agent/references/list-agents.md +40 -0
- package/skills/ae-agent/references/list-attachments.md +42 -0
- package/skills/ae-agent/references/list-automations.md +41 -0
- package/skills/ae-agent/references/list-mcp-credentials.md +65 -0
- package/skills/ae-agent/references/list-mcp-market.md +58 -0
- package/skills/ae-agent/references/list-mcps.md +37 -0
- package/skills/ae-agent/references/list-models.md +38 -0
- package/skills/ae-agent/references/list-skill-assets.md +35 -0
- package/skills/ae-agent/references/list-skill-market.md +59 -0
- package/skills/ae-agent/references/list-skill-references.md +36 -0
- package/skills/ae-agent/references/list-skill-scripts.md +35 -0
- package/skills/ae-agent/references/list-skill-shares.md +49 -0
- package/skills/ae-agent/references/list-skill-submissions.md +45 -0
- package/skills/ae-agent/references/list-skills.md +37 -0
- package/skills/ae-agent/references/mcp-auth-disconnect.md +50 -0
- package/skills/ae-agent/references/mcp-auth-start.md +61 -0
- package/skills/ae-agent/references/mcp-auth-status.md +56 -0
- package/skills/ae-agent/references/mcp-stats.md +68 -0
- package/skills/ae-agent/references/mcp-token.md +63 -0
- package/skills/ae-agent/references/mcp-tools.md +55 -0
- package/skills/ae-agent/references/read-skill-asset.md +51 -0
- package/skills/ae-agent/references/read-skill-reference.md +50 -0
- package/skills/ae-agent/references/read-skill-script.md +51 -0
- package/skills/ae-agent/references/reject-skill-share.md +37 -0
- package/skills/ae-agent/references/reject-skill.md +42 -0
- package/skills/ae-agent/references/rescan-skills.md +44 -0
- package/skills/ae-agent/references/set-mcp-credential.md +67 -0
- package/skills/ae-agent/references/set-mcp-meta.md +52 -0
- package/skills/ae-agent/references/set-skill-meta.md +51 -0
- package/skills/ae-agent/references/share-skill.md +50 -0
- package/skills/ae-agent/references/submit-skill.md +51 -0
- package/skills/ae-agent/references/test-model.md +61 -0
- package/skills/ae-agent/references/toggle-mcp.md +39 -0
- package/skills/ae-agent/references/toggle-model.md +37 -0
- package/skills/ae-agent/references/toggle-skill.md +37 -0
- package/skills/ae-agent/references/update-agent.md +71 -0
- package/skills/ae-agent/references/update-automation.md +83 -0
- package/skills/ae-agent/references/update-mcp.md +79 -0
- package/skills/ae-agent/references/update-model.md +77 -0
- package/skills/ae-agent/references/upload-skill-asset.md +49 -0
- package/skills/ae-agent/references/upload-skill-reference.md +51 -0
- package/skills/ae-agent/references/upload-skill-script.md +49 -0
- package/skills/ae-agent/references/upload-skill.md +89 -0
- package/skills/ae-analysis/SKILL.md +53 -25
- package/skills/ae-analysis/references/analysis_gateway_assets.md +129 -0
- package/skills/ae-analysis/references/artifact_download.md +17 -0
- package/skills/ae-analysis/references/bi_panel_copy.md +15 -0
- package/skills/ae-analysis/references/bi_panel_create.md +15 -0
- package/skills/ae-analysis/references/bi_panel_delete.md +15 -0
- package/skills/ae-analysis/references/bi_panel_get.md +18 -0
- package/skills/ae-analysis/references/bi_panel_list.md +15 -0
- package/skills/ae-analysis/references/bi_panel_page_data_export.md +25 -0
- package/skills/ae-analysis/references/bi_panel_page_data_run.md +15 -0
- package/skills/ae-analysis/references/bi_panel_share.md +15 -0
- package/skills/ae-analysis/references/bi_panel_update.md +15 -0
- package/skills/ae-analysis/references/dashboard_abnormal_get.md +15 -0
- package/skills/ae-analysis/references/dashboard_copy.md +17 -0
- package/skills/ae-analysis/references/dashboard_create.md +15 -0
- package/skills/ae-analysis/references/dashboard_daily_report_send.md +17 -0
- package/skills/ae-analysis/references/dashboard_daily_report_update.md +17 -0
- package/skills/ae-analysis/references/dashboard_definition_export.md +33 -0
- package/skills/ae-analysis/references/dashboard_definition_import.md +15 -0
- package/skills/ae-analysis/references/dashboard_delete.md +15 -0
- package/skills/ae-analysis/references/dashboard_freeze.md +15 -0
- package/skills/ae-analysis/references/dashboard_get.md +15 -0
- package/skills/ae-analysis/references/dashboard_handover.md +15 -0
- package/skills/ae-analysis/references/dashboard_list.md +15 -0
- package/skills/ae-analysis/references/dashboard_report_data_export.md +25 -0
- package/skills/ae-analysis/references/dashboard_report_data_run.md +15 -0
- package/skills/ae-analysis/references/dashboard_share.md +15 -0
- package/skills/ae-analysis/references/dashboard_share_info.md +15 -0
- package/skills/ae-analysis/references/dashboard_task_status.md +15 -0
- package/skills/ae-analysis/references/dashboard_update.md +16 -0
- package/skills/ae-analysis/references/favorite_add.md +15 -0
- package/skills/ae-analysis/references/favorite_remove.md +15 -0
- package/skills/ae-analysis/references/folder_create.md +15 -0
- package/skills/ae-analysis/references/folder_delete.md +15 -0
- package/skills/ae-analysis/references/folder_members.md +15 -0
- package/skills/ae-analysis/references/folder_share.md +15 -0
- package/skills/ae-analysis/references/project_space_create.md +15 -0
- package/skills/ae-analysis/references/project_space_delete.md +15 -0
- package/skills/ae-analysis/references/project_space_get.md +18 -0
- package/skills/ae-analysis/references/project_space_list.md +15 -0
- package/skills/ae-analysis/references/project_space_members.md +15 -0
- package/skills/ae-analysis/references/project_space_share.md +15 -0
- package/skills/ae-analysis/references/public_link_create.md +15 -0
- package/skills/ae-analysis/references/public_link_delete.md +15 -0
- package/skills/ae-analysis/references/public_link_list.md +15 -0
- package/skills/ae-analysis/references/public_link_offline.md +15 -0
- package/skills/ae-analysis/references/public_link_update.md +15 -0
- package/skills/ae-analysis/references/query_cancel.md +15 -0
- package/skills/ae-analysis/references/run_inspect.md +22 -0
- package/skills/ae-dataops/references/dataops-flow-create.md +2 -2
- package/skills/ae-dataops/references/dataops-flow-monitor.md +3 -3
- package/skills/ae-dataops/references/dataops-integration.md +1 -0
- package/skills/ae-engage/references/flow-node-config-schema.md +32 -8
- package/skills/ae-engage/references/save-flow.md +65 -29
- package/skills/ae-engage/references/validate-flow-node-config.md +28 -10
- package/skills/ae-generate-tracking-plan/SKILL.md +9 -7
- package/skills/ae-metadata/references/metadata_data_table_csv_write.md +5 -3
- package/skills/ae-metadata/references/metadata_data_table_sql_write.md +5 -4
- package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +5 -3
- package/dist/auth-I2G7OAU2.js +0 -19
- package/dist/chunk-FPE5LGVU.js +0 -105
- package/dist/cli-token-6AGEDJF4.js +0 -14
|
@@ -10,6 +10,7 @@ description: "AE/TE/ThinkingEngine/ThinkingAI ae-cli manual for analysis-side ta
|
|
|
10
10
|
> **CRITICAL - For all commands that require `project_id`, you MUST satisfy `PROJECT_ID_GATE` first (no guessing): verify the project by ID/name with `analysis_common +list_projects` only when there is no valid project context yet, when the user switches project/host/environment, or when the supplied project is ambiguous. Reuse a project already verified in the same continuous conversation and same host/environment.**
|
|
11
11
|
> **CRITICAL - For write operations in this skill, you MUST complete the post-write link loop when applicable:** after success and extractable `resource_id`, call `analysis_common +get_resource_url` and return the main result + resource link (or explicit link-failure reason).
|
|
12
12
|
> **CRITICAL - Before running any `+<tool_name>` command, you MUST first read the corresponding `references/<tool_name>.md`.** The reference filename always equals the command name without the leading `+`, for example `+query_adhoc` -> `references/query_adhoc.md`.
|
|
13
|
+
> **CRITICAL - Before running any capability-gateway asset command such as `ae-cli analysis dashboard list`, `ae-cli analysis bi-panel get`, `ae-cli analysis project-space create`, or `ae-cli analysis public-link list`, read the matching `references/<resource>_<action>.md` file. Replace hyphens with underscores, for example `analysis dashboard list` -> `references/dashboard_list.md`, `analysis bi-panel get` -> `references/bi_panel_get.md`. Use [`references/analysis_gateway_assets.md`](references/analysis_gateway_assets.md) only as the overview matrix.**
|
|
13
14
|
|
|
14
15
|
## Global AE CLI Rules
|
|
15
16
|
|
|
@@ -21,7 +22,7 @@ Global parameters:
|
|
|
21
22
|
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
22
23
|
| `--format <json\|table>` | Output format. Default is JSON. |
|
|
23
24
|
| `--jq <expr>` | jq filter expression for JSON output. |
|
|
24
|
-
| `--host <url>` | Override the active AE host. Available on every command and may be placed after the subcommand, e.g. `ae-cli analysis
|
|
25
|
+
| `--host <url>` | Override the active AE host. Available on every command and may be placed after the subcommand, e.g. `ae-cli analysis dashboard list --host <url>`. |
|
|
25
26
|
|
|
26
27
|
Output and errors:
|
|
27
28
|
|
|
@@ -52,14 +53,57 @@ If user intent is Engage/DataOps/Community/metadata gateway detail, switch to `a
|
|
|
52
53
|
- `ae-cli analysis_audience +<tool_name> [options]`
|
|
53
54
|
- `ae-cli analysis_meta +<tool_name> [options]`
|
|
54
55
|
- `ae-cli analysis_common +<tool_name> [options]`
|
|
56
|
+
- `ae-cli analysis <resource> <action> [options]` for capability-gateway dashboard, BI panel, project-space, folder, favorite, public-link, dashboard-definition, dashboard-daily-report, and async asset data commands.
|
|
55
57
|
|
|
56
58
|
Conventions:
|
|
57
59
|
|
|
58
|
-
-
|
|
60
|
+
- MCP `+<tool_name>` command flags use underscores, e.g. `--project_id`.
|
|
61
|
+
- Capability-gateway command flags use kebab-case, e.g. `--project-id`, `--dashboard-id`, `--request-id`. The CLI sends snake_case JSON to the gateway.
|
|
59
62
|
- MCP params map automatically to camelCase.
|
|
60
63
|
- JSON args pass as JSON string literals.
|
|
61
64
|
- Write operations require confirmation unless `--yes`.
|
|
62
65
|
|
|
66
|
+
## Capability Gateway Asset Commands
|
|
67
|
+
|
|
68
|
+
Use these commands for dashboard, BI panel, project space, folder, favorite, public link, dashboard definition import/export, dashboard daily report, and dashboard/BI page data operations:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
ae-cli analysis dashboard list --project-id <project_id>
|
|
72
|
+
ae-cli analysis dashboard get --project-id <project_id> --dashboard-id <dashboard_id>
|
|
73
|
+
ae-cli analysis dashboard update --project-id <project_id> --operation settings --dashboard-id <dashboard_id> --payload '{...}'
|
|
74
|
+
ae-cli analysis dashboard-report-data export --project-id <project_id> --dashboard-id <dashboard_id>
|
|
75
|
+
ae-cli analysis run inspect --run-id <run_id>
|
|
76
|
+
ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>
|
|
77
|
+
ae-cli analysis bi-panel-page-data run --project-id <project_id> --panel-id <panel_id> --page-key <page_key> --result-type charts
|
|
78
|
+
ae-cli analysis project-space list --project-id <project_id>
|
|
79
|
+
ae-cli analysis query cancel --run-id <run_id>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Use capability-gateway asset commands when the user wants to manage or inspect:
|
|
83
|
+
|
|
84
|
+
- Dashboards, dashboard basic detail including creator/create time, dashboard sharing, dashboard notes, dashboard copy/freeze/handover/delete, abnormal info, task status.
|
|
85
|
+
- Dashboard report data that may be large or long-running. Prefer `dashboard-report-data export` for large results; use `run` only for bounded inline results.
|
|
86
|
+
- Dashboard definition export/import. Use `dashboard-definition import --validate-only true` for import pre-checks; do not look for a separate import-check command.
|
|
87
|
+
- Dashboard daily report update or immediate send.
|
|
88
|
+
- BI panel list/detail/create/update/delete/share/copy and BI page data. Prefer `bi-panel-page-data export` for large results.
|
|
89
|
+
- Project spaces, folders, favorites, and public links.
|
|
90
|
+
|
|
91
|
+
Do **not** use these commands for:
|
|
92
|
+
|
|
93
|
+
- Ad-hoc model analysis, report definition, report data, drilldown, entity/event details, metadata/schema helpers, alerts, audience clusters/tags, or project lookup. Use the existing `+<tool_name>` commands for those.
|
|
94
|
+
- Dashboard locks, BI panel version/lock, dashboard filter module, UI reorder/move/tree operations, daily report retry/download/get-config, public-link logs/source-list/get, or other product-manager-red-marked abilities.
|
|
95
|
+
- Internal-only or UI-only payloads unless the gateway command reference explicitly exposes them through `--payload`.
|
|
96
|
+
|
|
97
|
+
Capability-gateway output:
|
|
98
|
+
|
|
99
|
+
- Successful commands return the standard gateway envelope: `{ "ok": true, "data": ..., "meta": ... }`.
|
|
100
|
+
- Failed commands return `{ "ok": false, "error": ... }` and exit non-zero.
|
|
101
|
+
- Inline `run` data is bounded by `--limit` and `--timeout-seconds`.
|
|
102
|
+
- Export commands return `run_id`, `artifact_id`, status fields, and expiration fields. Use `--artifact-format jsonl` for the artifact format; `--format` is reserved for CLI output formatting. Poll with `ae-cli analysis run inspect --run-id <run_id>` until the run and artifact are complete, then download with `ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>`. Do not call raw inspect/download API paths directly. Cancel with `ae-cli analysis query cancel --run-id <run_id>`.
|
|
103
|
+
- Unknown input fields and camelCase external fields are rejected by the gateway; use kebab-case CLI flags only.
|
|
104
|
+
|
|
105
|
+
See [`references/analysis_gateway_assets.md`](references/analysis_gateway_assets.md) for the command matrix. Before running one command, read its dedicated reference file named as `<resource>_<action>.md`.
|
|
106
|
+
|
|
63
107
|
## Mandatory Constraints
|
|
64
108
|
|
|
65
109
|
### A. PROJECT_ID_GATE
|
|
@@ -78,7 +122,7 @@ For any command requiring `project_id`:
|
|
|
78
122
|
|
|
79
123
|
When these writes succeed and `resource_id` is extractable, call `analysis_common +get_resource_url` and append link output:
|
|
80
124
|
|
|
81
|
-
- `dashboard`:
|
|
125
|
+
- `dashboard`: `analysis dashboard create`, `analysis dashboard update`
|
|
82
126
|
- `report`: `+create_report`
|
|
83
127
|
- `metric`: `+create_metric`, `+update_metric`
|
|
84
128
|
- `alert`: `+create_alert`, `+update_alert`
|
|
@@ -97,7 +141,7 @@ Closed-loop check (must be explicit in result):
|
|
|
97
141
|
|
|
98
142
|
### C. FUZZY_SEARCH_FALLBACK
|
|
99
143
|
|
|
100
|
-
For list commands with `--query` parameter (list_reports
|
|
144
|
+
For list commands with `--query` parameter (`list_reports`, `analysis dashboard list`, `list_events`, `list_clusters`, `list_tags`, `list_alerts`, `list_metrics`):
|
|
101
145
|
|
|
102
146
|
1. **First attempt**: Use `--query` with user-provided keyword for fuzzy search
|
|
103
147
|
2. **If no results found**, retry up to 2 more times with:
|
|
@@ -123,8 +167,8 @@ Before executing ad-hoc queries (`query_adhoc`), MUST check for existing reports
|
|
|
123
167
|
|
|
124
168
|
1. **Identify user intent** - Extract what metrics/dimensions/filters the user wants
|
|
125
169
|
2. **Search existing reports** - Use `list_reports --query <keyword>` to find matching reports
|
|
126
|
-
3. **Search existing dashboards** - Use `
|
|
127
|
-
4. **If found** - Use `query_report_data` or `
|
|
170
|
+
3. **Search existing dashboards** - Use `analysis dashboard list --query <keyword>` to find matching dashboards
|
|
171
|
+
4. **If found** - Use `query_report_data` or `analysis dashboard-report-data run/export` to get data from existing assets
|
|
128
172
|
5. **If not found** - For QP builder-supported models (`event`, `retention`, `funnel`, `prop_analysis`), call the matching builder first and then call `query_adhoc` with builder `qp`; do not call schema or metadata tools between the report/dashboard miss and the builder. For all other `query_adhoc` models, use the legacy schema/metadata path.
|
|
129
173
|
|
|
130
174
|
**Rationale:**
|
|
@@ -327,31 +371,15 @@ Alerts (6):
|
|
|
327
371
|
- `+update_alert` ([doc](references/update_alert.md))
|
|
328
372
|
- `+delete_alert` ([doc](references/delete_alert.md))
|
|
329
373
|
|
|
330
|
-
Reports
|
|
374
|
+
Reports:
|
|
331
375
|
- `+create_report` ([doc](references/create_report.md))
|
|
332
376
|
- `+get_report_definition` ([doc](references/get_report_definition.md))
|
|
333
377
|
- `+list_reports` ([doc](references/list_reports.md))
|
|
334
378
|
- `+query_report_data` ([doc](references/query_report_data.md))
|
|
335
379
|
- `+update_report` ([doc](references/update_report.md))
|
|
336
380
|
- `+delete_report` ([doc](references/delete_report.md))
|
|
337
|
-
|
|
338
|
-
-
|
|
339
|
-
- `+create_dashboard` ([doc](references/create_dashboard.md))
|
|
340
|
-
- `+list_dashboards` ([doc](references/list_dashboards.md))
|
|
341
|
-
- `+query_dashboard_detail` ([doc](references/query_dashboard_detail.md))
|
|
342
|
-
- `+query_dashboard_report_data` ([doc](references/query_dashboard_report_data.md))
|
|
343
|
-
- `+update_dashboard` ([doc](references/update_dashboard.md))
|
|
344
|
-
- `+delete_dashboard` ([doc](references/delete_dashboard.md))
|
|
345
|
-
- `+copy_dashboard` ([doc](references/copy_dashboard.md))
|
|
346
|
-
- `+freeze_dashboards` ([doc](references/freeze_dashboards.md))
|
|
347
|
-
- `+move_dashboard` ([doc](references/move_dashboard.md))
|
|
348
|
-
- `+create_or_update_dashboard_note` ([doc](references/create_or_update_dashboard_note.md))
|
|
349
|
-
- `+list_public_access_links` ([doc](references/list_public_access_links.md))
|
|
350
|
-
- `+create_public_access_link` ([doc](references/create_public_access_link.md))
|
|
351
|
-
- `+update_public_access_link` ([doc](references/update_public_access_link.md))
|
|
352
|
-
- `+list_bi_panels` ([doc](references/list_bi_panels.md))
|
|
353
|
-
- `+get_bi_panel_detail` ([doc](references/get_bi_panel_detail.md))
|
|
354
|
-
- `+query_bi_panel_data` ([doc](references/query_bi_panel_data.md))
|
|
381
|
+
|
|
382
|
+
Dashboard, BI panel, project-space, folder, favorite, public-link, dashboard-definition, dashboard-daily-report, run, artifact, and dashboard/BI data commands are capability-gateway commands. Use `ae-cli analysis <resource> <action>` after reading [`references/analysis_gateway_assets.md`](references/analysis_gateway_assets.md); do not use old `+` dashboard/space/BI/public-link command names.
|
|
355
383
|
|
|
356
384
|
Model Analysis (17):
|
|
357
385
|
- `+build_event_analysis_qp` ([doc](references/build_event_analysis_qp.md))
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# analysis capability-gateway asset commands
|
|
2
|
+
|
|
3
|
+
> Prerequisite: follow [`../SKILL.md`](../SKILL.md), especially `PROJECT_ID_GATE`.
|
|
4
|
+
|
|
5
|
+
These commands use the capability gateway instead of MCP tool names. The CLI command shape is:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
ae-cli analysis <resource> <action> [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Flags use kebab-case. The gateway input JSON uses snake_case. Do not pass camelCase flags or payload keys unless a nested backend DTO explicitly requires them inside `--payload`.
|
|
12
|
+
|
|
13
|
+
This file is an overview only. Before running one command, read the dedicated command reference named `references/<resource>_<action>.md` with hyphens converted to underscores, for example `dashboard_report_data_export.md`.
|
|
14
|
+
|
|
15
|
+
## When to use
|
|
16
|
+
|
|
17
|
+
Use these commands for dashboard, BI panel, project-space, folder, favorite, public-link, dashboard-definition, dashboard-daily-report, and dashboard/BI page data workflows.
|
|
18
|
+
|
|
19
|
+
Prefer export commands for long-running or large data:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
ae-cli analysis dashboard-report-data export --project-id 1 --dashboard-id 1001
|
|
23
|
+
ae-cli analysis run inspect --run-id run_0123456789abcdef0123456789abcdef
|
|
24
|
+
ae-cli analysis artifact download --run-id run_0123456789abcdef0123456789abcdef --artifact-id artifact_0123456789abcdef0123456789abcdef --output /tmp/dashboard.jsonl.gz
|
|
25
|
+
ae-cli analysis bi-panel-page-data export --project-id 1 --panel-id 2001 --page-key main --result-type charts
|
|
26
|
+
ae-cli analysis query cancel --run-id run_0123456789abcdef0123456789abcdef
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## When not to use
|
|
30
|
+
|
|
31
|
+
Do not use these commands for ad-hoc model analysis, report definition, report data, drilldown, schema helpers, alerts, audience clusters/tags, project lookup, metadata governance, dashboard locks, BI panel version/lock, dashboard filters, UI reorder/tree/move operations, daily report retry/download/get-config, or public-link logs/source-list/get. Use the existing `+<tool_name>` references for those.
|
|
32
|
+
|
|
33
|
+
## Output
|
|
34
|
+
|
|
35
|
+
All commands return the gateway envelope:
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"ok": true,
|
|
40
|
+
"data": {},
|
|
41
|
+
"meta": {}
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Failures return:
|
|
46
|
+
|
|
47
|
+
```json
|
|
48
|
+
{
|
|
49
|
+
"ok": false,
|
|
50
|
+
"error": {
|
|
51
|
+
"code": "INVALID_QUERY_REQUEST",
|
|
52
|
+
"message": "..."
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Export commands return `run_id`, `artifact_id`, `status`, `artifact_status`, `expires_at`, and `expires_at_iso`. They do not expose raw inspect/download API paths.
|
|
58
|
+
|
|
59
|
+
Artifact workflow:
|
|
60
|
+
|
|
61
|
+
1. Submit an export command and keep `data.run_id` and `data.artifact_id`.
|
|
62
|
+
2. Poll `ae-cli analysis run inspect --run-id <run_id>` every few seconds until `data.status` is terminal and `data.artifact_status` is complete.
|
|
63
|
+
3. Terminal success is `COMPLETED` or `SUCCEEDED`; terminal failure is `FAILED`, `CANCELED`, or `CANCELLED`. On failure, report the returned error fields instead of downloading.
|
|
64
|
+
4. Download with `ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>`.
|
|
65
|
+
5. Cancel long or abandoned exports with `ae-cli analysis query cancel --run-id <run_id>`.
|
|
66
|
+
|
|
67
|
+
Prefer the run/artifact commands over hand-written HTTP, Python, or curl. The descriptor paths are informational and may be internal `/api/cli/v1/...` paths behind a domain-routed CLI host.
|
|
68
|
+
|
|
69
|
+
## Command matrix
|
|
70
|
+
|
|
71
|
+
| Command | Capability ID | Use for | Key input | Output |
|
|
72
|
+
| --- | --- | --- | --- | --- |
|
|
73
|
+
| `dashboard list` | `analysis.dashboard.list` | Find accessible dashboards | `--project-id`, optional `--query`, `--fields`, `--limit`, `--offset` | Paginated dashboard summaries |
|
|
74
|
+
| `dashboard create` | `analysis.dashboard.create` | Create a dashboard | `--project-id`, `--dashboard-name`, optional `--space-id`, `--folder-id` | Created dashboard |
|
|
75
|
+
| `dashboard get` | `analysis.dashboard.get` | Inspect one dashboard definition/share/report structure, including creator and creation/update time | `--project-id`, `--dashboard-id` | Dashboard detail |
|
|
76
|
+
| `dashboard update` | `analysis.dashboard.update` | Update settings or upsert a note | `--operation settings|note-upsert`, IDs, optional `--payload` | Update result |
|
|
77
|
+
| `dashboard share-info` | `analysis.dashboard.share_info` | Read dashboard sharing info | `--project-id`, `--dashboard-id` | Share info |
|
|
78
|
+
| `dashboard share` | `analysis.dashboard.share` | Modify dashboard sharing | `--project-id`, `--dashboard-id`, `--payload` or `--member-authorities` | Share update result |
|
|
79
|
+
| `dashboard delete` | `analysis.dashboard.delete` | Delete dashboards | `--project-id`, `--dashboard-ids '[...]'` | Delete result |
|
|
80
|
+
| `dashboard handover` | `analysis.dashboard.handover` | Transfer dashboards | `--dashboard-ids`, `--to-user-id` | Handover result |
|
|
81
|
+
| `dashboard copy` | `analysis.dashboard.copy` | Copy a dashboard; omitted target IDs copy to the source location | `--dashboard-id`, `--dashboard-name`, optional target IDs | Copied dashboard |
|
|
82
|
+
| `dashboard freeze` | `analysis.dashboard.freeze` | Freeze/unfreeze dashboards | `--dashboard-ids`, optional `--freeze false` | Freeze status |
|
|
83
|
+
| `dashboard abnormal-get` | `analysis.dashboard.abnormal_get` | Inspect abnormal dependencies | `--dashboard-id` | Abnormal info |
|
|
84
|
+
| `dashboard task-status` | `analysis.dashboard.task_status` | Inspect scheduled task status | `--dashboard-id` | Task status |
|
|
85
|
+
| `dashboard-report-data run` | `analysis.dashboard_report_data.run` | Bounded inline dashboard report data | `--dashboard-id`, optional `--report-ids`, `--start-time`, `--end-time`, `--limit` | Inline data |
|
|
86
|
+
| `dashboard-report-data export` | `analysis.dashboard_report_data.export` | Large/long dashboard report data | same as run, plus optional `--artifact-format jsonl` | Async artifact descriptor |
|
|
87
|
+
| `run inspect` | `analysis.run.inspect` | Poll async export status | `--run-id` | Run and artifact status |
|
|
88
|
+
| `artifact download` | `analysis.artifact.download` | Download run-bound export artifact | `--run-id`, `--artifact-id`, `--output` | Local output file info |
|
|
89
|
+
| `query cancel` | `analysis.query.cancel` | Cancel gateway run/export | `--run-id`, optional `--reason` | Cancellation result |
|
|
90
|
+
| `dashboard-definition export` | `analysis.dashboard_definition.export` | Export dashboard definition JSON | `--dashboard-id`, `--dashboard-ids`, `--dashboard-folder-ids`, `--shared-spaces`, or `--payload` | Definition JSON |
|
|
91
|
+
| `dashboard-definition import` | `analysis.dashboard_definition.import` | Validate/import dashboard definition | `--definition`, optional `--validate-only true` | Validation or import result |
|
|
92
|
+
| `dashboard-daily-report update` | `analysis.dashboard_daily_report.update` | Update daily report config; defaults are sent when `--payload` is absent | `--dashboard-id`, optional config flags or `--payload` | Config result |
|
|
93
|
+
| `dashboard-daily-report send` | `analysis.dashboard_daily_report.send` | Send daily report immediately; defaults are sent when `--payload` is absent | `--dashboard-id`, optional config flags or `--payload` | Async send result |
|
|
94
|
+
| `bi-panel list` | `analysis.bi_panel.list` | Find accessible BI panels | `--project-id`, optional list filters | Paginated BI panel summaries |
|
|
95
|
+
| `bi-panel get` | `analysis.bi_panel.get` | Inspect released BI panel page structure | `--panel-id`, optional `--fields` | Panel structure |
|
|
96
|
+
| `bi-panel create` | `analysis.bi_panel.create` | Create a BI panel | optional `--panel-name`, `--payload` | Created panel |
|
|
97
|
+
| `bi-panel update` | `analysis.bi_panel.update` | Update BI panel content/metadata | optional `--payload` | Update result |
|
|
98
|
+
| `bi-panel delete` | `analysis.bi_panel.delete` | Delete BI panels | `--panel-ids '[...]'` | Delete result |
|
|
99
|
+
| `bi-panel share` | `analysis.bi_panel.share` | Modify BI panel sharing | `--panel-id`, `--payload` | Share update result |
|
|
100
|
+
| `bi-panel copy` | `analysis.bi_panel.copy` | Copy a BI panel | optional source/target flags and `--payload` | Copied panel |
|
|
101
|
+
| `bi-panel-page-data run` | `analysis.bi_panel_page_data.run` | Bounded inline BI page data | `--panel-id`, `--page-key`, `--result-type charts|summary` | Inline page data |
|
|
102
|
+
| `bi-panel-page-data export` | `analysis.bi_panel_page_data.export` | Large/long BI page data | same as run, optional `--artifact-format jsonl` | Async artifact descriptor |
|
|
103
|
+
| `project-space list` | `analysis.project_space.list` | Find accessible project spaces | `--project-id`, optional list filters | Paginated project spaces |
|
|
104
|
+
| `project-space get` | `analysis.project_space.get` | Inspect one project space | `--project-id`, `--space-id` | Project space detail |
|
|
105
|
+
| `project-space create` | `analysis.project_space.create` | Create a project space; `avatar_type` defaults to 1 when omitted | `--space-name` or `--payload` | Created space |
|
|
106
|
+
| `project-space delete` | `analysis.project_space.delete` | Delete project spaces | `--space-id` or `--space-ids` | Delete result |
|
|
107
|
+
| `project-space share` | `analysis.project_space.share` | Modify project-space members | `--space-id`, `--payload` | Share update result |
|
|
108
|
+
| `project-space members` | `analysis.project_space.members` | Read project-space members | `--space-id` | Members |
|
|
109
|
+
| `folder create` | `analysis.folder.create` | Create personal/project-space folder | `--folder-name`, optional `--space-id`, `--parent-folder-id` | Created folder |
|
|
110
|
+
| `folder delete` | `analysis.folder.delete` | Delete folders | `--folder-id` or `--folder-ids`, optional `--space-id` | Delete result |
|
|
111
|
+
| `folder share` | `analysis.folder.share` | Modify folder members | `--folder-id`, `--payload` | Share update result |
|
|
112
|
+
| `folder members` | `analysis.folder.members` | Read folder members | `--folder-id` | Members |
|
|
113
|
+
| `favorite add` | `analysis.favorite.add` | Favorite dashboard/BI/folder | `--asset-id`, `--asset-type`, optional `--payload` | Favorite result |
|
|
114
|
+
| `favorite remove` | `analysis.favorite.remove` | Remove favorite | same as add | Remove result |
|
|
115
|
+
| `public-link create` | `analysis.public_link.create` | Generate public link | `--resource-type`, `--resource-id`, `--effective-at`, `--expires-at` | Link result |
|
|
116
|
+
| `public-link list` | `analysis.public_link.list` | List public links | `--project-id`, optional list filters | Paginated links |
|
|
117
|
+
| `public-link update` | `analysis.public_link.update` | Edit public link | `--link-id`, `--effective-at`, `--expires-at` | Update result |
|
|
118
|
+
| `public-link offline` | `analysis.public_link.offline` | Take links offline | `--link-id` or `--link-ids` | Offline result |
|
|
119
|
+
| `public-link delete` | `analysis.public_link.delete` | Delete public links | `--link-id` or `--link-ids` | Delete result |
|
|
120
|
+
|
|
121
|
+
## Examples
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
ae-cli analysis dashboard list --project-id 1 --query retention --limit 20
|
|
125
|
+
ae-cli analysis dashboard update --project-id 1 --operation note-upsert --dashboard-id 1001 --note-title "Summary" --description "Weekly note" --yes
|
|
126
|
+
ae-cli analysis dashboard-definition export --project-id 1 --dashboard-id 1001 --export-file-name retention_dashboard
|
|
127
|
+
ae-cli analysis dashboard-definition import --project-id 1 --definition '{"dashboard_folders":[],"shared_spaces":[]}' --validate-only true
|
|
128
|
+
ae-cli analysis public-link create --project-id 1 --resource-type dashboard --resource-id 1001 --effective-at "2026-07-08 00:00:00" --expires-at "2026-08-08 00:00:00" --yes
|
|
129
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# analysis artifact download
|
|
2
|
+
|
|
3
|
+
Use after `run inspect` shows an export artifact is complete.
|
|
4
|
+
|
|
5
|
+
Do not use before the run reaches a successful terminal status. Use `run inspect` first.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `run_id`, `artifact_id`, and local `output` path.
|
|
14
|
+
|
|
15
|
+
Output is the gateway download result written to the local `--output` path. The command returns JSON with `run_id`, `artifact_id`, `output_path`, `bytes`, and response content headers.
|
|
16
|
+
|
|
17
|
+
Do not paste large artifact content into chat. Inspect the local file or summarize only the needed rows.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis bi-panel copy
|
|
2
|
+
|
|
3
|
+
Use when the user wants to copy a BI panel, optionally targeting a project space or folder.
|
|
4
|
+
|
|
5
|
+
Do not use to create a blank BI panel. Use `bi-panel create`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis bi-panel copy --project-id <project_id> [--panel-name <name>] [--panel-uuid <source_uuid>] [--space-id <space_id>] [--folder-id <folder_id>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, optional source/target fields, and `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the copied BI panel result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis bi-panel create
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to create a BI panel.
|
|
4
|
+
|
|
5
|
+
Do not use to copy an existing BI panel. Use `bi-panel copy`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis bi-panel create --project-id <project_id> [--panel-name <name>] [--panel-uuid <uuid>] [--space-id <space_id>] [--folder-id <folder_id>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` plus optional BI panel identifiers, target IDs, and `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the created BI panel result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis bi-panel delete
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to delete one or more BI panels.
|
|
4
|
+
|
|
5
|
+
Do not use for dashboards. Use `dashboard delete`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis bi-panel delete --project-id <project_id> --panel-ids '[2001,2002]' --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and `panel_ids`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the delete result.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# analysis bi-panel get
|
|
2
|
+
|
|
3
|
+
Use when the user needs one BI panel's released page structure.
|
|
4
|
+
|
|
5
|
+
Do not use to query chart data. Use `bi-panel-page-data run` or `bi-panel-page-data export`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis bi-panel get --project-id <project_id> --panel-id <panel_id> [--fields '["pages"]']
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `panel_id`, and optional `fields`.
|
|
14
|
+
|
|
15
|
+
Supported fields are `basic`, `pages`, `charts`, `chartFilterControls`, `summary`,
|
|
16
|
+
`parameterControls`, and `permissionControls`.
|
|
17
|
+
|
|
18
|
+
Output is the gateway envelope. `data` contains the BI panel structure.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis bi-panel list
|
|
2
|
+
|
|
3
|
+
Use when the user needs to find BI panels they can access.
|
|
4
|
+
|
|
5
|
+
Do not use for dashboard assets. Use `dashboard list`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis bi-panel list --project-id <project_id> [--query <keyword>] [--fields '["id","name"]'] [--limit 20] [--offset 0]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and optional `query`, `fields`, `limit`, `offset`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains BI panel summaries and paging metadata when returned.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# analysis bi-panel-page-data export
|
|
2
|
+
|
|
3
|
+
Use for BI panel page data that may be large or long-running.
|
|
4
|
+
|
|
5
|
+
Do not use for tiny previews. Use `bi-panel-page-data run` with a small limit.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis bi-panel-page-data export --project-id <project_id> --panel-id <panel_id> --page-key <page_key> --result-type charts [--chart-ids '["chart1"]'] [--artifact-format jsonl]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `panel_id`, `page_key`, `result_type`, and optional control, paging, cache, request, timeout, and format fields. Use CLI flag `--artifact-format` for the gateway `format` input; `--format` is the CLI output formatter.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains an async export descriptor with `run_id`, `artifact_id`, status fields, and expiration fields. It does not expose inspect/download API paths; use the CLI commands below.
|
|
16
|
+
|
|
17
|
+
Follow-up workflow:
|
|
18
|
+
|
|
19
|
+
1. Save `data.run_id` and `data.artifact_id` from the export response.
|
|
20
|
+
2. Poll status with `ae-cli analysis run inspect --run-id <run_id>`.
|
|
21
|
+
3. Continue polling while status is running or pending. Treat `COMPLETED` or `SUCCEEDED` as success, and `FAILED`, `CANCELED`, or `CANCELLED` as terminal failure.
|
|
22
|
+
4. On success, download with `ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>`.
|
|
23
|
+
5. If the export is no longer needed, cancel with `ae-cli analysis query cancel --run-id <run_id> --yes`.
|
|
24
|
+
|
|
25
|
+
Do not write custom Python/curl for polling or download unless the CLI command itself is unavailable.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis bi-panel-page-data run
|
|
2
|
+
|
|
3
|
+
Use for bounded inline BI panel page chart or summary data.
|
|
4
|
+
|
|
5
|
+
Do not use for large or long-running page data. Use `bi-panel-page-data export`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis bi-panel-page-data run --project-id <project_id> --panel-id <panel_id> --page-key <page_key> --result-type charts [--chart-ids '["chart1"]'] [--limit 100] [--timeout-seconds 60]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `panel_id`, `page_key`, `result_type`, and optional control, paging, cache, request, timeout, and limit fields.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains bounded inline page data.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis bi-panel share
|
|
2
|
+
|
|
3
|
+
Use when the user wants to modify BI panel sharing members.
|
|
4
|
+
|
|
5
|
+
Do not use to share dashboards or folders. Use the matching resource share command.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis bi-panel share --project-id <project_id> --panel-id <panel_id> [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `panel_id`, and backend-compatible snake_case `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the share update result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis bi-panel update
|
|
2
|
+
|
|
3
|
+
Use when the user wants to update BI panel content or metadata.
|
|
4
|
+
|
|
5
|
+
Do not use for BI panel version or lock workflows; those are intentionally not CLI-enabled.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis bi-panel update --project-id <project_id> [--panel-name <name>] [--panel-uuid <uuid>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, optional `panel_name`, `panel_uuid`, and `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the update result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard abnormal-get
|
|
2
|
+
|
|
3
|
+
Use when the user needs abnormal dependency or import/export diagnostic information for one dashboard.
|
|
4
|
+
|
|
5
|
+
Do not use for normal dashboard detail. Use `dashboard get`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard abnormal-get --project-id <project_id> --dashboard-id <dashboard_id>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and `dashboard_id`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains abnormal dependency information.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# analysis dashboard copy
|
|
2
|
+
|
|
3
|
+
Use when the user wants to copy a dashboard, optionally copying reports and targeting a project space or folder.
|
|
4
|
+
|
|
5
|
+
Do not use to create a blank dashboard. Use `dashboard create`.
|
|
6
|
+
|
|
7
|
+
If both `--to-space-id` and `--to-folder-id` are omitted, the gateway copies to the source dashboard's current location. Do not manually discover a target folder just to copy in place.
|
|
8
|
+
|
|
9
|
+
Command:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
ae-cli analysis dashboard copy --project-id <project_id> --dashboard-id <source_dashboard_id> --dashboard-name <new_name> [--report-copy true] [--to-space-id <space_id>] [--to-folder-id <folder_id>] --yes
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Input sends `project_id`, `dashboard_id`, `dashboard_name`, `report_copy` defaulting to false, and optional `to_space_id`, `to_folder_id`.
|
|
16
|
+
|
|
17
|
+
Output is the gateway envelope. `data` contains the copied dashboard result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard create
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to create a dashboard in personal space, a project space, or a folder.
|
|
4
|
+
|
|
5
|
+
Do not use to copy an existing dashboard. Use `dashboard copy` for copy workflows.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard create --project-id <project_id> --dashboard-name <name> [--space-id <space_id>] [--folder-id <folder_id>] [--initial-report-id <report_id>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `dashboard_name`, and optional `space_id`, `folder_id`, `initial_report_id`, `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the created dashboard identity or backend create result.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# analysis dashboard-daily-report send
|
|
2
|
+
|
|
3
|
+
Use when the user wants to send a dashboard daily report immediately.
|
|
4
|
+
|
|
5
|
+
Do not use for configuration changes. Use `dashboard-daily-report update`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard-daily-report send --project-id <project_id> --dashboard-id <dashboard_id> [--need-csv true] [--host-url <url>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `dashboard_id`, and optional daily report fields or `payload`.
|
|
14
|
+
|
|
15
|
+
When `--payload` is absent, the command sends safe defaults expected by the gateway: `need_csv=false`, empty `host_url`, all channel switches false, `send_date=1,2,3,4,5,6,7`, `send_time=09:00`, `lang=zh-CN`, `screen_type=normal`, and `zone_offset=0`. When `--payload` is present, payload values remain authoritative; pass top-level flags only for fields you intentionally want to override.
|
|
16
|
+
|
|
17
|
+
Output is the gateway envelope. `data` contains the immediate send result.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# analysis dashboard-daily-report update
|
|
2
|
+
|
|
3
|
+
Use when the user wants to update a dashboard daily report configuration.
|
|
4
|
+
|
|
5
|
+
Do not use to send immediately. Use `dashboard-daily-report send`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard-daily-report update --project-id <project_id> --dashboard-id <dashboard_id> [--enable-send true] [--send-time <time>] [--send-title <title>] [--send-content <content>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `dashboard_id`, and optional daily report fields or `payload`.
|
|
14
|
+
|
|
15
|
+
When `--payload` is absent, the command sends safe defaults expected by the gateway: `need_csv=false`, empty `host_url`, all channel switches false, `send_date=1,2,3,4,5,6,7`, `send_time=09:00`, `lang=zh-CN`, `screen_type=normal`, `zone_offset=0`, and `enable_send=false`. When `--payload` is present, payload values remain authoritative; pass top-level flags only for fields you intentionally want to override.
|
|
16
|
+
|
|
17
|
+
Output is the gateway envelope. `data` contains the daily report configuration update result.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# analysis dashboard-definition export
|
|
2
|
+
|
|
3
|
+
Use when the user wants to export dashboard definition JSON for one dashboard, multiple dashboards, selected private dashboard folders, or shared project spaces.
|
|
4
|
+
|
|
5
|
+
Do not use for dashboard report result data. Use `dashboard-report-data run` or `dashboard-report-data export`.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard-definition export --project-id <project_id> [--dashboard-id <dashboard_id>] [--dashboard-ids '[1,2]'] [--dashboard-folder-ids '[...]'] [--shared-spaces '[...]'] [--export-file-name <name>] [--payload '{...}']
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and optional `dashboard_id`, `dashboard_ids`, `dashboard_folder_ids`, `shared_spaces`, `export_file_name`, `payload`.
|
|
14
|
+
|
|
15
|
+
Prefer `--dashboard-id` or `--dashboard-ids` when the user asks for a single dashboard or a known dashboard list. The gateway resolves private-folder or project-space context.
|
|
16
|
+
|
|
17
|
+
For a private folder export, `--dashboard-folder-ids '[123]'` is accepted. Use the advanced descriptor form only when you need to restrict which dashboards inside the folder are exported.
|
|
18
|
+
|
|
19
|
+
Advanced private-folder descriptor form:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
ae-cli analysis dashboard-definition export --project-id <project_id> \
|
|
23
|
+
--dashboard-folder-ids '[{"dashboard_folder_id":123,"dashboard_ids":[456]}]'
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Advanced project-space descriptor form:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
ae-cli analysis dashboard-definition export --project-id <project_id> \
|
|
30
|
+
--shared-spaces '[{"space_id":10,"children":[{"is_folder":false,"id":456}]}]'
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Output is the gateway envelope. `data` contains exported definition data or an export descriptor.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard-definition import
|
|
2
|
+
|
|
3
|
+
Use when the user wants to validate or import dashboard definition JSON. Use `--validate-only true` for pre-checks such as name conflict, reference relation, and importable state.
|
|
4
|
+
|
|
5
|
+
Do not use a separate pre-check command; validation is part of this import command.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard-definition import --project-id <project_id> --definition '{...}' [--validate-only true] [--dashboard-name-conflict-policy <policy>] [--space-dashboard-policy <policy>] [--payload '{...}'] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `definition`, and optional validation/import policies and `payload`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains validation findings or import result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard delete
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to delete one or more dashboards.
|
|
4
|
+
|
|
5
|
+
Do not use for soft archival or hiding unless the gateway contract defines that behavior.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard delete --project-id <project_id> --dashboard-ids '[1001,1002]' --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id` and `dashboard_ids`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the delete result.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard freeze
|
|
2
|
+
|
|
3
|
+
Use when the user wants to freeze or unfreeze one or more dashboards.
|
|
4
|
+
|
|
5
|
+
Do not use for dashboard lock/version operations; those are intentionally not CLI-enabled.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard freeze --project-id <project_id> --dashboard-ids '[1001,1002]' [--freeze true] --yes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `dashboard_ids`, and optional `freeze`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains the freeze or unfreeze result.
|