in practice the api could be some nostr event that holds some nostrscript or w/e mechanism damus uses to define algorithms