folkwaysDocs
Concepts

Glossary

The terms the Folkways docs use, in one place, each with an example.

TermMeaningExample
WorkspaceYour team's account: one package, its segments, team members and billingAcme
PackageThe plan a workspace is on; sets its allowancesFree, or a paid package
SegmentOne isolated app in one environment, with its own keys, rules and topicsChat (production)
Realtime URLThe address your clients connect to; shown in a segment's Connect tabhttps://realtime.folkways.net
Signing keyA key pair; your backend signs tokens with the private halfKey ID backend-2026-12
Publishable keyA public key an app trades for anonymous, read-only tokensUsed by a live scoreboard
Platform API keyA key your servers use to read the Platform APISent as X-API-Key
TokenA short-lived JWT: segment, identity, capabilitiesLives 10 minutes
IdentityWho a connection is; the token's subuser:42
Service tokenA token your backend signs for itself, with kind: "service"Opens DMs, writes $user topics
CapabilityA topic pattern and the ops allowed on itrooms/42: subscribe, publish
OpOne kind of operationsubscribe, publish, set, signal, presence
TopicA named channel in a segmentrooms/42
PatternA topic name with wildcards: * one level, trailing > one or morerooms/*, chat/>
Topic ruleSays which topics exist, what they carry and who may use themrooms/*: stream, kv, signal
Public topicA topic whose rule lets the token decide (access: token)scores/match-7
Private topicA topic whose rule needs a member entry too (access: members)dm/5f0c…
Member entryOne identity's ops on one private topic, kept by your backenduser:2 may subscribe
Personal topic$user/{identity}: notices for one user, written by your backend$user/user:42
EventOne published item: a name, a type and a payloadmessage { "text": "hi" }
Event typeStream, KV or Signal: how an event is kept and deliveredtyping is a signal
StreamEvents kept in order and replayable for a bounded timeChat messages
KVThe latest value per keyRead receipts
SignalThe latest short-lived value per senderTyping indicators
PresenceWho is online, and who is in which topic$presence/rooms/42
CursorA stream event's position, (epoch, seq)7:42
EpochThe part of a cursor that changes if a topic's history may be lost7
GapNotice that the history you asked for is goneExpired
uidA stream or KV event's permanent ID, a UUIDv7Point a read receipt at it
Idempotency keyA 128-bit ID that makes a retried publish safeReused on each retry of one message
ReceiptWhat a publisher gets back: position, uid, duplicate flagaccepted at 7:42
FrameOne request or reply in the wire protocolPublish, SubAck
PacketOne WebSocket message or HTTP body: 1 to 64 framesA batch of publishes