{"uid":"cap_sLG7X5zPzTsqr_Ap5P7iU","slug":"agent-rest-stop-snapshotdiff-a00af9ec","name":"Agent Rest Stop SnapshotDiff","description":"Diffs two locker objects at the top level.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/SnapshotDiff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key_a":{"type":"string"},"key_b":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lfKKAnj0kLyrth4nEGLZo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Diffs two locker objects at the top level, returning a comparison of their fields by key.","exampleAgentPrompt":"Can you diff the two locker snapshots with keys 'backup-2024-01-15' and 'backup-2024-01-16' and tell me what changed at the top level?","exampleUseCases":[{"title":"Detect config drift between deployments","prompt":"Compare the locker objects stored under keys 'config-v1' and 'config-v2' and show me which top-level fields changed between the two snapshots."},{"title":"Audit state changes after an agent run","prompt":"I ran my agent and it updated the locker — can you diff the snapshot saved as 'state-before' against 'state-after' so I can see exactly what it modified?"},{"title":"Verify rollback restored original values","prompt":"After rolling back, can you compare the locker object 'pre-rollback' with 'post-rollback' to confirm the top-level fields are back to what they were?"}],"resultDescription":"A top-level diff of two locker objects identified by their keys, showing which fields are added, removed, or changed between key_a and key_b.","failureModes":["One or both keys do not exist in the locker, returning a not-found error","Malformed or missing key_a / key_b input causes a validation error","Network or worker timeout if the locker backend is slow to respond","Identical objects may return an empty diff, which is valid but could be mistaken for an error"],"whenToPreferThis":"Use this endpoint when you need to compare two named locker snapshots at the top level and get a structured diff — especially useful for detecting state drift, auditing agent changes, or verifying rollbacks within the Agent Rest Stop ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:19.361Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-snapshotdiff-a00af9ec"}