{"uid":"cap_o4FfKxVLvMT8_qotx9iqN","slug":"gedx402-memory-sessions-x402-database-session-initializer-1ea7ffa5","name":"GEDX402 Memory Sessions – x402 Database Session Initializer","description":"Single-hop SQL memory session on db.gedx402.com — one x402 payment prepays sql/exec write and sql/query read credits. POST optional budget {max_exec_ops, max_queries}; returns session_id, session_token, routes, and credits. $0.69 USDC wire settlement (budget caps apply). Send session_token on query/exec (header X-Memory-Session-Token or body) — no 402 until credits exhausted. Bundle hero: GET /v1/models?bundle=memory.","url":"https://db.gedx402.com/v1/memory/sessions","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"budget":{"type":"object","additionalProperties":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.69","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.69/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.69","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.69","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QbOrTqYSZd9wZfsSuMLlc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.69","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a prepaid database session (with SQL query and exec credits) by paying via x402/USDC, returning a session token and credit balance","exampleAgentPrompt":"Start a new GEDX402 database session for me with 10 prepaid read queries and 5 write operations — I want to pay with USDC on Base without needing an API key.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing a unique session_id, a session_token for authenticating subsequent SQL requests, the routes for exec and query endpoints, and the remaining credit counts (queries_remaining and exec_ops_remaining) based on the budget specified at creation.","failureModes":["Payment failure or insufficient USDC balance — x402 payment not accepted, session not created","Invalid budget values (max_queries or max_exec_ops out of range 0–256 or 0–64 respectively) — validation error","Unsupported payment network — chain not among Base, Polygon, Arbitrum, World, or Solana","Session creation timeout — upstream Cloudflare Worker unavailable","Rate limiting or quota exceeded on the server side"],"whenToPreferThis":"Choose this endpoint when you need keyless, crypto-native SQL database access via the x402 payment protocol, especially for serverless or agent workflows where managing API keys is undesirable. Ideal when you want to prepay for a fixed number of SQL read and write operations using USDC on a supported chain (Base, Polygon, Arbitrum, World, Solana) and receive a session token to use for subsequent queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:37:58.390Z","isFirstParty":false}