Skip to main content
GET
/
api
/
v1
/
scans
/
latest
Latest Scan
curl --request GET \
  --url http://localhost:8000/api/v1/scans/latest
{
  "scan_id": "<string>",
  "results": [
    {}
  ],
  "topology": {},
  "config_changed": true,
  "config_hash_at_scan": "<string>",
  "config_hash_current": "<string>",
  "days_since_scan": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.tracectrl.ai/llms.txt

Use this file to discover all available pages before exploring further.

Returns the most recent scan plus drift metadata that lets the dashboard warn when the openclaw.json on disk has changed since the scan ran.

Response

scan_id
string
Identifier of the latest scan, or null if none
results
object[]
Check rows for that scan
topology
object
Topology snapshot stored with the scan, or null
config_changed
boolean
true if the current openclaw.json hash differs from the hash recorded at scan time
config_hash_at_scan
string
SHA-256[:16] of openclaw.json when the scan ran
config_hash_current
string
SHA-256[:16] of openclaw.json right now
days_since_scan
integer
Whole days since the scan was recorded, or null if unknown
When no scans have been recorded:
200
{
  "scan_id": null,
  "results": [],
  "topology": null,
  "config_changed": false,
  "days_since_scan": null
}