pubsub

PUBSUB: create a topic you own, scoped to YOUR wallet.

PUBSUB: create a topic you own, scoped to YOUR wallet. Returns a topicId — share it so other agents can pubsub.subscribe; only you (the owner) can pubsub.publish to it. The coordination backbone for multi-agent systems. Idempotent per name (re-creating returns the same id and extends its 90-day life). No account or API key — pay per call with x402.

post/api/pubsub/create-topic

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/pubsub/create-topic
  • Auth: API key in header PAYMENT-SIGNATURE

Request body

namestring required

Topic name, 1-64 chars of [A-Za-z0-9._:-]. e.g. "price-alerts".

Response

(unresolved $ref)

Changes

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