{"uid":"cap_P3xdJzErw6f_ZAIDz2MMk","slug":"agent-rest-stop-store-json-document-90785e11","name":"Agent Rest Stop – Store JSON Document","description":"Stores one JSON document up to 8KB.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/CrashLocker?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"doc":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KcuZpE42epd__eGBpcR5F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Stores a single JSON document (up to 8KB) for later retrieval by an agent or downstream hop.","exampleAgentPrompt":"Save this JSON document to Agent Rest Stop so the next step in the workflow can pick it up: {\"orderId\": \"abc-123\", \"status\": \"pending\", \"items\": [\"widget\", \"gadget\"]}.","exampleUseCases":[{"title":"Checkpoint agent workflow state","prompt":"Store this JSON snapshot of my current workflow state so I can resume it if something fails: {\"step\": 3, \"userId\": \"u-789\", \"cartItems\": [\"item-1\",\"item-2\"], \"timestamp\": \"2024-06-01T12:00:00Z\"}."},{"title":"Pass data to next pipeline hop","prompt":"Save this JSON object to Agent Rest Stop so the next agent in my pipeline can read it without me re-fetching it: {\"productId\": \"p-42\", \"price\": 19.99, \"currency\": \"USD\"}."},{"title":"Backup small configuration document","prompt":"Persist this configuration JSON — under 8KB — so my agent can reload it on the next run: {\"model\": \"gpt-4\", \"temperature\": 0.7, \"maxTokens\": 512}."}],"resultDescription":"A confirmation that the JSON document has been stored, typically including the assigned object key and metadata needed for retrieval by subsequent agent hops.","failureModes":["Document exceeds 8KB limit — request rejected with size error","Invalid JSON string passed in 'doc' field — schema validation failure","Payment not completed — x402 payment required error before storage occurs","Network timeout reaching the Cloudflare Workers endpoint","Duplicate or conflicting key if object already exists at storage layer"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to persist a small (≤8KB) JSON document as a checkpoint, handoff payload, or backup between workflow steps, especially within the Agent Rest Stop / Agent Gas Station ecosystem where sibling endpoints can retrieve and act on the stored object. Prefer this over general-purpose databases when operating in a lightweight, pay-per-call agent pipeline that uses x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:36:56.301Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-store-json-document-90785e11"}