Sam API using operator