{"uid":"cap_OYn06YrH3ZyV2M0-dfBcs","slug":"safeagent-execution-guard-claim-endpoint-2d10c9d6","name":"SafeAgent Execution Guard — Claim Endpoint","description":"Execution Guard for AI Agents — exactly-once claim before execute.","url":"https://safeagent-production.up.railway.app/claim","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["status","request_id"],"properties":{"status":{"type":"string"},"agent_id":{"type":"string"},"request_id":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"status":"PROCEED","agent_id":"0x2Dc36fb02357aDa6E210Cb4b0EA783EA5153EAa8","request_id":"evt-abc123"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OQ1REWymPtyuKOIOTLKAG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Issues an exactly-once execution claim for an AI agent before it performs an action, preventing duplicate or concurrent executions.","exampleAgentPrompt":"Before my AI agent executes the next task, use SafeAgent's execution guard to claim a lock for agent 0x2Dc36fb02357aDa6E210Cb4b0EA783EA5153EAa8 on request ID evt-abc123 so it doesn't run more than once.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a status field (e.g. 'PROCEED'), the agent_id that claimed the execution, and a request_id confirming the unique claim. If the claim is already taken, the agent should not proceed.","failureModes":["Claim already exists for this request_id — agent should halt and not duplicate execution","Missing or invalid agent_id — returns error rejecting the claim","Payment failure (x402) — insufficient USDC balance blocks the claim","Network timeout — agent should retry with caution to avoid double-claiming","Invalid request_id format — claim rejected with validation error"],"whenToPreferThis":"Use this endpoint when you need exactly-once execution guarantees for AI agent actions — especially in distributed or multi-agent environments where the same task could be triggered more than once. Prefer this over ad-hoc deduplication logic when the cost of a duplicate action (e.g. double payment, duplicate message) is high.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:37:16.772Z","isFirstParty":false}