{"uid":"cap_dMwSuO7hS5euYSOKuFiPz","slug":"cloudworldmodel-wallet-auth-x402-session-f3e8519f","name":"CloudWorldModel Wallet Auth x402 Session","description":"Simulate AWS, GCP, Azure, OCI, and DigitalOcean cloud infrastructure without provisioning real resources. Built for Canvas Cloud AI learners and agents.","url":"https://www.cloudworldmodel.ai/api/wallet-auth/x402-session","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":{"type":"object","properties":{},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string"},"bodyType":{"type":"string"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"settlement":{"type":"object"},"walletSession":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"settlement":{"status":"confirmed","transactionHash":"0xabc123..."},"walletSession":{"token":"<jwt>","expiresAt":"2024-01-02T00:00:00.000Z"}}},"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_Ua_v22xbSjUg_ilNLKNdl","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 a 24-hour wallet session JWT by processing a one-time USDC micro-payment via the x402 payment protocol.","exampleAgentPrompt":"Get me a 24-hour wallet session JWT from CloudWorldModel by paying the $0.001 USDC micro-payment — I need to authenticate so I can start making API calls to the simulation endpoints.","exampleUseCases":null,"resultDescription":"Returns a wallet session JWT valid for 24 hours along with a settlement confirmation object, enabling authenticated access to other cloudworldmodel.ai endpoints.","failureModes":["Payment insufficient or invalid USDC amount — returns payment error","x402 payment header missing or malformed — returns 402 Payment Required","Session already active and not expired — may return conflict or existing token","Network or blockchain settlement delay — timeout or pending status","Invalid wallet address or signature — authentication failure"],"whenToPreferThis":"Use this endpoint when you need to establish an authenticated session with cloudworldmodel.ai before calling simulation, RL training, or cloud evaluation endpoints. This is the required first step when no valid session JWT exists or when the prior 24-hour session has expired. It is specifically designed for x402 USDC micro-payment-based authentication flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:52:00.109Z","isFirstParty":false}