store

STORE: read back a JSON value you stored with store.kv-put...

STORE: read back a JSON value you stored with store.kv-put, scoped to YOUR wallet. Returns the value and its expiry. Reading the object resets its 90-day TTL (extend-on-touch). Returns 404 if the key doesn't exist or has expired. Data is private to your wallet (the x402 payer) — no account or API key.

post/api/store/kv-get

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/store/kv-get
  • Auth: API key in header PAYMENT-SIGNATURE

Request body

nsstring required

Namespace the key lives in.

keystring required

Key to read.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.