{"uid":"cap_oduk2sMWtvd4DvgfdVheg","slug":"agentservices-memory-delete-a682529e","name":"AgentServices Memory Delete","description":"Paid data APIs for AI agents. Crypto market data, DeFi yields, IP geolocation, dispute resolution, marketing intelligence. Powered by x402 micropayments on Base.","url":"https://agentservices.to/v1/memory/%7Bkey%7D","method":"DELETE","headers":{},"bodySchema":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"Value to store"},"ttl_seconds":{"type":"integer","description":"TTL in seconds (0 = permanent)"}}},"responseSchema":{},"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_aW-mQsjEArTHuGrdPWaCD","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":"Deletes a stored key-value memory entry by key from the AgentServices persistent memory store","exampleAgentPrompt":"Delete the memory entry stored under the key 'session_context_42' from AgentServices memory.","exampleUseCases":[{"title":"Clearing stale session context","prompt":"I'm done with this user session — go ahead and delete the memory key 'user_session_8821' from AgentServices so it doesn't linger."},{"title":"Removing expired task state","prompt":"The task is complete, please delete the key 'task_state_checkout_flow' from agent memory so we're not storing unnecessary data."},{"title":"Resetting agent working memory","prompt":"Before starting a fresh run, delete the key 'pipeline_scratch_pad' from AgentServices memory to make sure there's no leftover state."}],"resultDescription":"Returns an empty response body on success, confirming that the specified key has been removed from the memory store. If the key does not exist, the response may still return a success status (idempotent delete).","failureModes":["Key not found — may return 404 or silently succeed depending on implementation","Authentication or payment failure via x402 — returns 402 Payment Required if USDC payment is not attached","Invalid or malformed key in path parameter — returns 400 Bad Request","Network timeout — no confirmation of deletion","Key already expired by TTL — endpoint may return success with no-op"],"whenToPreferThis":"Use this endpoint when an AI agent needs to explicitly remove a named key from the AgentServices persistent memory store — for example, after a task completes, a session ends, or stale state needs to be purged. Prefer this over overwriting the key with an empty value when you want clean removal semantics. Best suited for agents already using AgentServices memory for persistence, paying via x402 micropayments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:02.607Z","isFirstParty":false}