{"uid":"cap_e9CDkqipd2H17usiac5KM","slug":"pyfile-x402-api-encrypted-secret-storage-put-b5454657","name":"Pyfile x402 API – Encrypted Secret Storage (PUT)","description":"Store a secret (credential, token, key) for later retrieval — encrypted at rest (AES-256-GCM). Returns an id + access token; fetch later by id+token. Max 16KB. For agent state that must survive across runs.","url":"https://pyfile-agent.taile3ff35.ts.net/secret/put?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"id":"sec_abc123","ok":true,"note":"Store id+token; value encrypted at rest (AES-256-GCM).","access_token":"tok_9f2c..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AXIE0i0x5Y74TwEA1l6ED","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Stores an encrypted secret value server-side using AES-256-GCM and returns a one-time-read dead-drop ID and access token for later retrieval","exampleAgentPrompt":"Securely store this API key 'sk-abc123xyz' as an encrypted dead drop so I can share the retrieval token with someone else who can only read it once.","exampleUseCases":[{"title":"Agent-to-agent credential handoff","prompt":"Encrypt and store my database password 'P@ssw0rd!secret' as a one-time-read dead drop, then give me the ID and access token so I can send them to the receiving agent."},{"title":"One-time secret share with a contractor","prompt":"I need to give a freelancer a sensitive API key just once — can you store 'Bearer eyJhbGci...' as an encrypted dead drop and give me the retrieval token to send them?"},{"title":"Ephemeral config value for a deploy pipeline","prompt":"Store the value 'prod-db-host=db.internal:5432' as an encrypted secret so my CI pipeline can read it exactly once during deployment, and give me the secret ID and token."}],"resultDescription":"Returns a JSON object containing a unique secret ID (e.g. sec_abc123), a one-time access token (e.g. tok_9f2c...), an ok:true confirmation, and a note confirming the value is encrypted at rest with AES-256-GCM. The secret can only be retrieved once using the returned ID and token.","failureModes":["Missing or malformed request body returns an error","Payment not provided or insufficient USDC/XNO balance causes a 402 Payment Required response","Server-side encryption failure may return a 500 error","Attempting to store an excessively large payload may be rejected","Network timeout to the Tailscale-hosted endpoint may result in connection errors"],"whenToPreferThis":"Choose this endpoint when you need to pass a sensitive value (API key, password, token) between agents or humans in a one-time-read, zero-persistence manner. It is preferable to plaintext sharing, environment variable hacks, or persistent secret stores when you want the secret to self-destruct after one retrieval. It is pay-per-call at $0.002 USDC, making it cost-effective for individual agent workflows that need ephemeral encrypted storage without managing a full secrets vault.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:35:55.253Z","isFirstParty":false,"canonicalSlug":"pyfile-x402-api-encrypted-secret-storage-put-b5454657"}