{"uid":"cap__BmIJATBRpQ-j8w7pm40z","slug":"spraay-robot-task-dispatch-dda05f25","name":"Spraay Robot Task Dispatch","description":"Dispatch a paid task to an RTP-registered robot. x402 payment held in escrow until completion.","url":"https://gateway.spraay.app/api/v1/robots/task?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"task":{"type":"string"},"robot_id":{"type":"string"},"parameters":{"type":"object"},"callback_url":{"type":"string"},"timeout_seconds":{"type":"number"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5Ytgjnk1IBd_YrOajAW70","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Dispatch a paid task to an RTP-registered robot with x402 payment held in escrow until task completion.","exampleAgentPrompt":"Dispatch a task to robot R-2047 to scan and categorize the product inventory in warehouse zone B, with a 5-minute timeout and notify my callback at https://myapp.com/webhook when done.","exampleUseCases":[{"title":"Warehouse inventory scan automation","prompt":"Send robot R-2047 a task to perform a full inventory scan of warehouse zone B, set a timeout of 300 seconds, and ping my webhook at https://myapp.com/robot-done when it finishes."},{"title":"Autonomous data collection task","prompt":"Dispatch a data collection task to robot ID sensor-bot-12 — have it record temperature and humidity readings from all floor sensors and send the results to https://myserver.com/results within 120 seconds."},{"title":"Scheduled maintenance robot dispatch","prompt":"Send a maintenance task to robot maint-007 to run diagnostics and replace filter unit 3 in sector C, with a 10-minute timeout and callback to https://ops.example.com/maintenance-complete."}],"resultDescription":"Returns a task confirmation with an escrow payment receipt; upon completion the robot reports back to the callback URL and escrow is released. Response typically includes task ID, status, and any result payload from the robot.","failureModes":["Robot ID not found or not registered in RTP — returns 404 or robot-not-found error","Insufficient USDC balance or x402 payment failure — task not dispatched","Timeout exceeded before robot completes task — task marked failed, escrow may be refunded","Invalid callback URL format — task dispatched but completion notification fails","Missing required 'task' or 'robot_id' fields — returns 400 bad request","Robot offline or unreachable — task queued or immediately rejected depending on implementation"],"whenToPreferThis":"Use this endpoint when you need to delegate a specific task to a known, RTP-registered robot with guaranteed payment-on-completion semantics via x402 escrow. Prefer this over generic compute APIs when the target executor is a physical or virtual robot agent with a registered ID, and when you need accountability through escrow release tied to task completion rather than upfront payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T18:44:49.269Z","isFirstParty":false,"canonicalSlug":"spraay-robot-task-dispatch-dda05f25"}