Agent verifies a page change
An agent that just made an edit calls compare to confirm the visual result before reporting success.
curl --request POST \
--url https://api.prod.ss.snapshot-site.com/api/v3/compare \
--header 'Content-Type: application/json' \
--header 'x-snapshotsiteapi-key: YOUR_API_KEY' \
--data '{
"before": {"imageUrl": "https://cdn.example.com/before.png"},
"after": {"url": "https://staging.example.com/page", "width": 1440, "fullSize": true},
"threshold": 0.1
}'