API Reference
API Reference/Apps/Cualli

Cualli “good, well-being”

org.poca.cualli

Wellness and safety hub: community resource cards, a community-chosen responder line, and emergency tooling that stays on the device.

PAC directory: health/types: resource, respondermulti-module

PAC surface at a glance

UsesDetail
/apps/cualliPrimary resource list.
/cards/{card_id}Single-card lookup (also matched by deep_link string).
/indexReads tribe_name for the home greeting; blank or “Unknown” falls back to “your community”.
/file/{path}Card hero images (e.g. health/ihs-clinic/hero.png).
app_config / featured / filesNot used. Cualli’s own settings are a local DataStore, independent of the PAC.
Deep linkspoca://cualli/{resource|responder}/{id}, handled in-app only (activity not exported).

Card types

typeWhat it drives
resourceHome “Community resources” tiles, sorted by priority, with a detail screen (call, directions, hours).
responderThe community’s trusted number. The lowest-priority responder card with a tel feeds voice escalation, ranked: config override, then responder tel, then national fallback.

Other types still parse but never surface in the UI or the responder rung.

Catalog row contract

Top-level columns read: card_id, type, title, description, image, icon, label, deep_link, extensions_json. Inside extensions_json:

KeyTypeUsed for
telstringCall button and dialability; responder escalation.
addressstringInfo row and the Directions geo: intent.
hoursstringInfo row.
categorystringTile subtitle, together with label.
emergencybool (false)Switches call button and icon to error colors.
priorityint (100)Orders resources; picks the primary responder.

Scope boundary

PAC is strictly Cualli’s read-only community content source. SOS dialing, crash detection, the crisis alert feed, medical records, contacts, recordings, and the optional gRPC relay backend are all independent of the PAC and never write to it.

Last updated: July 2026
PreviousAmoxtli