Install Pack
POST /api/system/analysis-pack/install
POST
/api/system/analysis-pack/install
Stream NDJSON progress events while the pack downloads + installs.
Each line is a JSON object with shape:
{"phase": "started"|"downloading"|"installed"|"failed",
"downloaded_bytes": int, "total_bytes": int, "error": str | null}
The stream terminates with either a "installed" or "failed"
event. If the pack is already installed, the stream emits a single
"installed" event and closes immediately (idempotent).
Responses
Section titled “ Responses ”Successful Response