{"uid":"cap_NtzA8wwL_NL2HvnpclIje","slug":"agent-commerce-gate-decision-lookup-by-check-id-1de7416d","name":"Agent Commerce Gate — Decision Lookup by Check ID","description":"Agent Commerce Gate — look up a prior decision by checkId, without re-running the check — per call","url":"https://contextiq.trango-compute.com/api/v1/policy-check/x402-v2/:id","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"score":{"type":"number"},"agentId":{"type":"string"},"checkId":{"type":"string"},"network":{"type":"string"},"decision":{"type":"string","description":"allow, warn, or block"},"endpoint":{"type":"string"},"maxScore":{"type":"number"},"createdAt":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yYQERBu6j7bPVrDcGtR1e","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves a previously computed policy decision by its checkId without re-executing the underlying risk check","exampleAgentPrompt":"Can you pull up the earlier policy check result for check ID 'chk_7a3f91b2e04d' — I need to know if the decision was allow, warn, or block, and what score it got, without running a new check.","exampleUseCases":[{"title":"Audit trail for agent transaction gate","prompt":"I need to review the policy decision that was made for check ID 'chk_abc123def456' — pull up the original allow/warn/block verdict and the risk score so I can log it in our compliance records."},{"title":"Replay check result before settlement","prompt":"Before we bind the settlement receipt, can you look up the previous policy check for checkId 'chk_99zx112q' on the Ethereum network and confirm it came back as 'allow'?"},{"title":"Debugging a blocked agent interaction","prompt":"An agent interaction got blocked earlier — the check ID is 'chk_55ff2290a1c8'. Can you fetch the full decision details including the score and which endpoint triggered it so I can figure out why it was blocked?"}],"resultDescription":"Returns the stored policy check record including the original decision (allow, warn, or block), numeric risk score, maximum score threshold, the agent ID evaluated, the endpoint checked, the network, and the timestamp when the check was created — without re-running any underlying risk computation.","failureModes":["Unknown or invalid checkId returns a 404 not found error","Expired or purged check records may return empty or not found","Network mismatch may cause lookup to fail if checkId belongs to a different network context","Missing checkId parameter results in a 400 bad request","Service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you already have a checkId from a prior Agent Commerce Gate policy check and need to retrieve the cached decision without incurring the cost or latency of re-running the full counterparty risk evaluation. Prefer this over the full pre-payment check endpoint when you only need to audit, confirm, or reference an existing decision — for example before binding a settlement receipt or for compliance logging.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:57.867Z","isFirstParty":false}