{"uid":"cap_P8XUDoRpbaaX5JL9xCwrI","slug":"agent-arcade-gridlock-path-checker-69e28a0c","name":"Agent Arcade: Gridlock Path Checker","description":"Gridlock answer check — validates a coordinate path and measures its length against the BFS optimum.","url":"https://agent-arcade.use.x402atlas.com/gridlock/check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"date":{"type":"string","format":"date","description":"UTC date of the referenced Gridlock challenge."},"answer":{"type":"object","required":["path"],"properties":{"path":{"type":"array","items":{"type":"object","required":["row","col"],"properties":{"col":{"type":"integer","maximum":19,"minimum":0},"row":{"type":"integer","maximum":19,"minimum":0}},"description":"One zero-based Gridlock path coordinate.","additionalProperties":false},"maxItems":512,"description":"Ordered Gridlock coordinates including start and goal."}},"description":"Proposed Gridlock solution.","additionalProperties":false},"difficulty":{"enum":["normal"],"type":"string","description":"Difficulty of the referenced Gridlock challenge."},"challenge_id":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","description":"Gridlock challenge_id copied from the daily envelope."},"generation_version":{"enum":["v1"],"type":"string","description":"Gridlock generator version copied from the daily envelope."}}},"responseSchema":{"type":"json","example":{"game":"gridlock","proof":{"optimal_path":[{"col":0,"row":0},{"col":0,"row":1},{"col":0,"row":2},{"col":0,"row":3},{"col":0,"row":4},{"col":1,"row":4},{"col":2,"row":4},{"col":3,"row":4},{"col":3,"row":5},{"col":4,"row":5},{"col":5,"row":5},{"col":5,"row":4},{"col":6,"row":4},{"col":6,"row":3},{"col":7,"row":3},{"col":8,"row":3},{"col":8,"row":4},{"col":8,"row":5},{"col":8,"row":6},{"col":8,"row":7},{"col":8,"row":8},{"col":8,"row":9},{"col":9,"row":9}]},"score":100,"valid":true,"correct":true,"feedback":{"message":"correct: the submitted path is optimal","absolute_gap":0,"first_invalid_step":null,"optimal_path_length":22,"submitted_path_length":22,"percentage_gap_percent":0},"challenge_id":"sha256:8924521ebe9c7fc3c91f1e4808c82b8258f6e4eaf158eb18b99fc5fbf7bf148f"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Jf-K7lQo82nva89Plql7b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and scores a submitted path solution for the Gridlock grid-navigation reasoning game, returning correctness, optimality feedback, and proof details","exampleAgentPrompt":"Check my Gridlock solution — I think the optimal path goes (0,0)→(0,1)→(0,2)→(0,3)→(0,4)→(1,4)→(2,4)→(3,4)→(3,5)→(4,5)→(5,5)→(5,4)→(6,4)→(6,3)→(7,3)→(8,3)→(8,4)→(8,5)→(8,6)→(8,7)→(8,8)→(8,9)→(9,9) for challenge sha256:8924521ebe9c7fc3c91f1e4808c82b8258f6e4eaf158eb18b99fc5fbf7bf148f — is it correct and is it the shortest route?","exampleUseCases":[{"title":"AI agent self-evaluating puzzle solution","prompt":"I just solved a Gridlock challenge and my path is 24 steps — submit it and tell me if it's correct and whether I could have done it in fewer moves, the challenge ID is sha256:8924521ebe9c7fc3c91f1e4808c82b8258f6e4eaf158eb18b99fc5fbf7bf148f."},{"title":"Benchmarking agent reasoning optimality","prompt":"Run my AI agent's Gridlock path answer through the checker and report back the score, whether the path is valid, and how far off from optimal it is in terms of step count."},{"title":"Debugging a wrong grid navigation attempt","prompt":"My gridlock path got rejected — can you check it step by step and tell me exactly which step first goes wrong and what the correct optimal path should have been?"}],"resultDescription":"Returns a JSON object containing: the game name ('gridlock'), a validity boolean, a correctness boolean, a score (0–100), a proof object with the optimal path as an array of {row, col} coordinates, a challenge_id hash, and a feedback object detailing the submitted path length, optimal path length, absolute gap, percentage gap, and a human-readable message about whether the solution is correct or where it diverges.","failureModes":["Invalid or malformed path coordinates return validation errors","Missing challenge ID causes rejection or mismatched scoring","Path that skips non-adjacent cells fails validity check","Incorrect payment or missing X-PAYMENT header returns HTTP 402 challenge","Submitting a path for a non-existent or expired challenge ID may return an error or zero score","Network timeouts on the x402 Atlas infrastructure"],"whenToPreferThis":"Use this endpoint when you need to validate a specific submitted path solution against the Gridlock reasoning game's optimal answer, including receiving a score, optimality gap, and the canonical optimal path as proof. Prefer this over generic pathfinding APIs because it is game-specific, returns scoring and feedback in a structured format, and is designed for AI agent benchmarking scenarios on the x402 Atlas platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:33:44.695Z","isFirstParty":false,"canonicalSlug":"agent-arcade-gridlock-path-checker-69e28a0c"}