> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attaxr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# JavaScript monitoring

> Watch target JavaScript for changes and analyze every revision.

JavaScript monitoring watches a URL over time. When the script changes,
Aquila queues an analysis that diffs the revision and hunts for secrets and
interesting behavior.

## Monitors

* `GET /api/js-monitoring` — paginated list. `?q=` searches.
* `POST /api/js-monitoring` — register a URL. The call is idempotent per
  user and URL: the first call returns `201`, later calls return the
  existing monitor with `200`.
* `DELETE /api/js-monitoring/{id}` — stop watching a URL.

## Analyses

* `GET /api/js-analysis` — paginated list of analyses. `?status=` filters by
  state.
* `GET /api/js-analysis/{id}` — one analysis with its findings.
* `POST /api/js-analysis/{id}/run` — queue a fresh analysis now. Returns
  `202`.
* `DELETE /api/js-analysis/{id}` — delete an analysis.

An analysis runs through the same event pipeline as scans, so results appear
in the dashboard as they land.
