{"uid":"cap_NZl2XTFwVQj0bMzycgQd1","slug":"db-gedx402-com-sql-write-executor-035d809e","name":"db.gedx402.com SQL Write Executor","description":"Write SQL on shared agent memory database. POST INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, or REPLACE with optional params; UPDATE/DELETE require WHERE; changes capped at 100 rows. With valid session_token, no x402 until exec credits exhausted. Bundle: GET /v1/models?bundle=memory. Shard omitted from default OpenAPI discovery.","url":"https://db.gedx402.com/v1/sql/exec","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"sql":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"session_token":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.017","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.017/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.017","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.017","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_whg9aJC5QLmmS4FFM9LTQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.017","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a single SQL write statement (INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, REPLACE) against a Cloudflare D1 database, paid per-call via USDC on x402.","exampleAgentPrompt":"Insert a new user record into the 'users' table with name 'Alice', email 'alice@example.com', and age 30 — run the SQL write on the x402 D1 database, no API key needed, just pay per call.","exampleUseCases":null,"resultDescription":"A JSON object with a 'meta' field containing: number of rows changed, execution duration in milliseconds, last inserted row ID, and rows written count; plus a 'success' boolean and the underlying service name ('cloudflare-d1').","failureModes":["Invalid or malformed SQL syntax returns an error response","Attempting a SELECT or read statement is rejected (only write statements allowed)","Incorrect number of bound parameters for ? placeholders causes a mismatch error","Payment failure or insufficient USDC balance blocks execution with a 402 response","Table or column does not exist results in a SQL execution error","Network timeout on the Cloudflare D1 backend"],"whenToPreferThis":"Use this endpoint when you need to perform SQL write operations (INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, REPLACE) on a Cloudflare D1 database without managing API keys, paying micro-fees in USDC per call via the x402 protocol on Base, Polygon, Arbitrum, World, or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:18.833Z","isFirstParty":false}