Smart Logic API