store

STORE: list keys in a namespace, scoped to YOUR wallet...

STORE: list keys in a namespace, scoped to YOUR wallet, optionally filtered by key prefix and paginated with a cursor. Set values:true to include each value inline. Ordered by key; returns nextCursor when more remain (pass it as after). Scanning does NOT extend TTLs. Private to your wallet (the x402 payer).

post/api/store/kv-scan

Request

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

Request body

nsstring required

Namespace to list.

prefixstring

Only return keys starting with this prefix. e.g. "session:".

limitinteger

Max keys to return. Default 50, max 1000.

afterstring

Cursor — pass the previous response's nextCursor to page forward.

valuesboolean

Include each value inline (default false — keys only).

Response

(unresolved $ref)

Changes

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