aidp-observability — activity & async operations
Show what's happening in the AIDP workspace: recent job runs and the state of long-running operations.
Primary engine: the official Oracle aidp CLI (async-operations + workflow list-recent-job-runs);
oci raw-request is the fallback when the CLI isn't installed. Read-only — no payload persistence needed.
When to use
- "What did I touch recently / what's running?" · "is operation X done?" · waiting on a provisioning or long commit to finish.
CLI (preferred)
Per references/aidp-cli-map.md: async-operations list | get and
workflow list-recent-job-runs. All take --instance-id <DATALAKE_OCID> --auth api_key --profile DEFAULT --region <r>
(workspace-scoped — confirm the workspace).
Fallback (no CLI) — same REST + auth via oci raw-request against
…/20240831/dataLakes/<DATALAKE_OCID>/… (auth ladder in references/oci-raw-request.md):
GET …/asyncOperations?<param>=<value> (a query param is required — a bare path returns
400 InvalidParameter: query param X must not be null; the error names the missing param, e.g. a
resource-type / workspaceKey / status; also accepts sortBy=timeCreated) · GET …/asyncOperations/<key>
for one. GET …/recentActivities returned 404 in testing (2026-06-10) — prefer the CLI
workflow list-recent-job-runs for "recent activity"; treat recentActivities as not provisioned unless a
live read says otherwise.
Live-verified 2026-06-10 on de-agent — correction: the required filter is specifically
status=orresourceType=. A bareGET …/asyncOperationsreturns400 MissingParameter: "ResourceType or Status filter need to be specified". Confirmed 200s:?status=SUCCEEDED(returned realCREATE_CLUSTER/CREATE_WORKSPACErecords),?resourceType=CLUSTER, and get-one…/asyncOperations/<key>.…/recentActivitiesreturned404 NotAuthorizedOrNotFound(not provisioned here) — use?status=/?resourceType=oraidp workflow list-recent-job-runsinstead.
Workflow
- In-flight ops:
aidp async-operations list --resource-type <type>→ table of key, type, state, started. - Status of one:
aidp async-operations get <key>→ report the operation's currentstate. - Block until done: poll
aidp async-operations get <key>on an interval (back off; clamp total wait) until a terminal state, then report it. Use this after provisioning (aidp-workspace-admin), bundle deploys (aidp-bundle), or other202-async actions — those return an operation key in thedatalake-async-operation-keyheader or a body field (see the Async note in the reference). - Recent activity:
aidp workflow list-recent-job-runs→ present resource, action, time.
Notes
- Workspace-scoped — confirm the workspace.
async-operations listneeds a resource-type / filter param (shape-TBD in the live map) — probe, read the 400, supply the named param. Don't present it as confirmed until a live 2xx is recorded (no-fabrication gate).- For Spark job/stage/cluster-log diagnostics use
aidp-spark-debugging; this skill is platform-level operation tracking, not Spark internals.
References
- references/aidp-cli-map.md · references/oci-raw-request.md · references/no-mcp-rest-map.md · references/rest-endpoint-map.md


