Scans

Diff a scan against the previous one.

What changed between this scan and the previous completed scan of the same host: the grade/score swing and the checks that flipped pass↔fail. previousScanId is null when there is no prior completed scan to compare against.

get/api/v1/scans/{id}/diff

Request

  • Base URL: https://agentdisco.io
  • URL: https://agentdisco.io/api/v1/scans/{id}/diff
  • Auth: none declared

Path parameters

idstring required

Response

The diff.

scanIdstring uuid required

The scan being diffed.

previousScanIdstring uuid nullable

The previous completed scan compared against, or null if there is none.

gradeFromstring nullable

Grade of the previous scan, or null.

gradeTostring nullable

Grade of this scan, or null if not completed.

scoreFrominteger nullable

Score of the previous scan, or null.

scoreTointeger nullable

Score of this scan, or null if not completed.

scoreDeltainteger nullable

scoreTo − scoreFrom, or null when there is no previous scan.

newFailuresstring[] required

Check keys that flipped pass → fail since the previous scan.

newPassesstring[] required

Check keys that flipped fail → pass since the previous scan.

Changes

No recorded changes to this operation across all 1 revision of this API.